Hm...
Actually at that time I was not able to reproduce the limit, and I wrote a fix that worked well and reduced the number of nest calls. Maybe the guy that notified me was using it. Here is the changeset I did to fix the issue: http://trac.phpdoctrine.org/changeset/4397 But right now I'll have to go back to add some scheduled support, and I was afraid to fall into the same situation again, and I messaged the list. @Derick: If this is a xdebug specific, is there a way to you increase this number? Regards, On Tue, Sep 9, 2008 at 10:19 AM, Scott MacVicar <[EMAIL PROTECTED]> wrote: > There is no nesting limit, it recurses until it runs out of memory. > Derick was saying that XDebug will add one, but other than that there > isn't any. > > dev/php53/sapi/cli/php -r 'function m($m) { echo ++$m . " "; m($m); } > m(0); ' > > I ran that and I got bored when it got to 750,000 levels deep. > > Scott > > Guilherme Blanco wrote: >> Derick, >> >> I do not have xdebug installed here. >> That's why I thought it was something that could be changed, since >> it's something too specific and afaik used only by xdebug. >> >> Regards, >> >> On Tue, Sep 9, 2008 at 3:19 AM, Derick Rethans <[EMAIL PROTECTED]> wrote: >>> On Mon, 8 Sep 2008, Guilherme Blanco wrote: >>> >>>> Yeah... recursion depth. >>>> >>>> Sorry, I wrongly typed it. >>>> >>>> I think it may be cleaner now... >>> Well, PHP itself doesn't protect against this, but my guess is that you >>> have Xdebug running. Xdebug limits to 100 levels by default in order to >>> prevent infinite recursion and crashes. Change the >>> xdebug.max_nesting_level setting to something higher and you'd be good >>> to go. >>> >>> regards, >>> Derick >>> -- >>> HEAD before 5_3!: http://tinyurl.com/6d2esb >>> http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org >>> >> >> >> > -- Guilherme Blanco - Web Developer CBC - Certified Bindows Consultant Cell Phone: +55 (16) 9166-6902 MSN: [EMAIL PROTECTED] URL: http://blog.bisna.com Rio de Janeiro - RJ/Brazil -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php