Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread Jochem Maas
Larry Garfield wrote: If I had to venture a guess, you nested 100 functions (called 100 functions in a stack), and therefore reached the maximum limit in PHP. That is, you overflowed the stack. You may have a recursion problem, especially if you're using an XML parser that is not the

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread Paul Scott
On Fri, 2007-10-26 at 12:52 +0200, Jochem Maas wrote: since when is there an arbitrary maximum recursion limit??? Since forever... ;) I thought that it was at 60 though... --Paul All Email originating from UWC is covered by disclaimer

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread Jochem Maas
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;

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread T . Lensselink
On Fri, 26 Oct 2007 14:32:42 +0200, Jochem Maas [EMAIL PROTECTED] wrote: 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

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread Jochem Maas
T.Lensselink wrote: On Fri, 26 Oct 2007 14:32:42 +0200, Jochem Maas [EMAIL PROTECTED] wrote: 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

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread Eric Butera
On 10/25/07, Sascha Braun [EMAIL PROTECTED] wrote: What is the cause for that error: Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/Projekte/spectral/modules/xml_mm/classes/xml_mm.class.php on line 118 Thank you! Sascha -- PHP General Mailing List

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread T . Lensselink
On Fri, 26 Oct 2007 16:12:25 +0200, Jochem Maas [EMAIL PROTECTED] wrote: T.Lensselink wrote: On Fri, 26 Oct 2007 14:32:42 +0200, Jochem Maas [EMAIL PROTECTED] wrote: Paul Scott wrote: On Fri, 2007-10-26 at 12:52 +0200, Jochem Maas wrote: since when is there an arbitrary maximum recursion

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread Jochem Maas
T.Lensselink wrote: ... php -r 'function foo() { static $x = 1; echo foo , $x++, \n; foo(); } foo();' ... Running your code shows that there is a limit. Although it doesn't throw an error. It just stops after n recursive calls: php4 recursive calls: 796 php5 recursive calls:

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread Daniel Brown
On 10/26/07, T. Lensselink [EMAIL PROTECTED] wrote: On Fri, 26 Oct 2007 14:32:42 +0200, Jochem Maas [EMAIL PROTECTED] wrote: 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... ;)

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread Thijs Lensselink
Jochem Maas wrote: T.Lensselink wrote: ... php -r 'function foo() { static $x = 1; echo foo , $x++, \n; foo(); } foo();' ... Running your code shows that there is a limit. Although it doesn't throw an error. It just stops after n recursive calls:

[PHP] Maximum function nesting level of '100' reached

2007-10-25 Thread Sascha Braun
What is the cause for that error: Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/Projekte/spectral/modules/xml_mm/classes/xml_mm.class.php on line 118 Thank you! Sascha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-25 Thread Richard Heyes
Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/Projekte/spectral/modules/xml_mm/classes/xml_mm.class.php on line 118 It seems pretty self explanatory. Do you have a lot of recursion? -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-25 Thread Daniel Brown
On 10/25/07, Sascha Braun [EMAIL PROTECTED] wrote: What is the cause for that error: Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/Projekte/spectral/modules/xml_mm/classes/xml_mm.class.php on line 118 [snip!] It means that PHP reached the maximum level

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-25 Thread Larry Garfield
If I had to venture a guess, you nested 100 functions (called 100 functions in a stack), and therefore reached the maximum limit in PHP. That is, you overflowed the stack. You may have a recursion problem, especially if you're using an XML parser that is not the PHP 5-native one. On Thursday