Re: PHP 4.0 Bug #2004: recursive call limitation
| From: | gregori | Date: | Tue, 10 Aug 1999 10:03:26 +0000 |
| Subject: | Re: PHP 4.0 Bug #2004: recursive call limitation | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9712@lists.php.net to get a copy of this message | ||
> Did you try with the latest CVS version of PHP 4.0?
Nope ... for the CVS we need password !? ... even if, I've only see the
cvs of php3 ... never seen the one of php4.
> 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?
That's a weird question ... the deepest nesting level should be set by
the machine (memory + swap memory) and not by the software ?!
As far as I remember my computer science lesson we could have :
--------------------
| Stack |
| | |
| \ / |
| |
| |
| |
| / \ |
| | |
| heap |
|------------------|
Anyway, maybe you have done something different to speed function
calls.
I think we need at least a level of one million, if we want to be safe
... but, if we keep a limit of 8192, PHP will never have the name of
language.
Maybe I'm wrong ... maybe I'm the only one who scare about that ...
but a compile-time switch will be more than a good news ... and a level
of 1 million will be safe.
Cheers for your time,
except that ... PHP rocks.
i love it,
gregori