Hi,
it is really funny, but if I call this simple script that is based on recursion, it always stops on number 863, but I want it running till the end. Can you tell me why? javascript:smilie('😕')
javascript:smilie('😕')
I have ran several different versions of recursive calls, but always it stops between 850 and 890 numbers.
Thank you a lot.
Here is the script:
<?php
function abc_recurse($imax)
{
static $i=1;
if ($i == $imax)
{
return "xyz";
} else {
echo " $i. ";
$i++;
return abc_recurse($imax);
}
}
echo "\n\nFinal Return:" . abc_recurse(10000);
?>😕 😕