Re: PHP 4.0 Bug #2004: recursive call limitation
| From: | gregori | Date: | Tue, 10 Aug 1999 09:58:41 +0000 |
| Subject: | Re: PHP 4.0 Bug #2004: recursive call limitation | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-9711@lists.php.net to get a copy of this message | ||
> Did you try with the latest CVS version of PHP 4.0? There was a leak in the
> stack which I fixed a couple of weeks ago. What is the deepest nesting
> level you need? Tens, hundreds, or thousands?
I've tried with the beta 2 ... my script give me no data for a level of
5717 ...
<html>
<body bgcolor="#ffffff" text="#000088">
<?php
function nothing($val) {
if ($val <=0 ) return(0);
nothing($val - 1);
}
echo "<br>recursive function ... ";
$debut = time();
nothing(5717);
$end = time();
echo "<center>Execution time : ".($end - $debut)."</center>";
?>
</body>
</html>
It's working for 5716.
sad isn't it,
gregori