Do PHP allow iterative function definations ?
I tried the following and received an error message
Fatal error: Call to undefined function: callmyself() in c:\inetpub\wwwroot\phptest\test.php on line 10
Here's my code...
<?php
class Test
{
function CallMyself()
{
for($i=0; $i<10; $i++)
{
echo "Hello World! $i<br>";
CallMyself();
}
}
}
$Obj=new Test();
$Obj->CallMyself();
?>