php basic

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rajanp
Forum Newbie
Posts: 1
Joined: Fri Oct 29, 2010 12:55 am

php basic

Post by rajanp »

Code: Select all

<?php
function Test()
{
static $count=0;
$count++;
echo $count."<br>";
if($count<10)
{
Test();
}
Test();
}
?>
i like to know the execution sequence and explanation.


scottayy wrote:Please use the PHP Code button when posting code in the forums.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Re: php basic

Post by s.dot »

Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: php basic

Post by Benjamin »

:arrow: Moved to PHP - Code
Post Reply