Re: Maximum function nesting level of '100' reached
| From: | Jochem Maas | Date: | Fri, 26 Oct 2007 12:32:42 +0000 |
| Subject: | Re: Maximum function nesting level of '100' reached | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263703@lists.php.net to get a copy of this message | ||
Paul Scott wrote:
> On Fri, 2007-10-26 at 12:52 +0200, Jochem Maas wrote:
>
>> since when is there an arbitrary maximum recursion limit???
>
> Since forever... ;)
thats you think, personally I test this kind of thing when Im
not sure:
php -r 'function foo() { static $x = 1; echo "foo ", $x++, "\n"; foo(); }
foo();'
which proves quite adequately that there is no function recursion limit as such,
and that the error message is simply 'Segmentation Fault' as opposed to some message
about recursion limit being reached.
therefore the recursion limit, whether in defined in php source or in user land code
is something specific to the XML extension/code the OP was using.
>
> I thought that it was at 60 though...
>
> --Paul
>
>
>
> ------------------------------------------------------------------------
>
> All Email originating from UWC is covered by disclaimer
>
> http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm