Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation From: gregori (gregori <email protected>)
Date: 08/10/99

> 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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>