It's not a crash, it's the intended behavior...

Zeev

At 12:49 14/03/2002, Andrey Hristov wrote:
>I received this in the browser :
>
>Fatal error: Nesting level too deep - recursive dependency? in 
>c:\apache\htdocs\ad.php on line 3
>
>Andrey
>
>----- Original Message -----
>From: "Zeev Suraski" <[EMAIL PROTECTED]>
>To: "Andrey Hristov" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Thursday, March 14, 2002 12:09 PM
>Subject: Re: [PHP-DEV] probably the var_dump()'s problem is in its roots.
>
>
> > At 11:55 14/03/2002, Andrey Hristov wrote:
> > >    Hi
> > >After looking at the source for possible fix for the var_dump()'s crash
> > >(fixed few minutes by Yasuo) I realized that it may be
> > >possible to change HASH_PROTECT_RECURSION macro and instead of
> > >   if ((ht)->nApplyCount++ >= 3)
> > >
> > >to change to
> > >   if ((ht)->nApplyCount++ >= 1)
> > >
> > >
> > >Ok. The var_dump() is fixed but I think that there are maybe other places
> > >where this problem can take place. ...and I've just tried
> > >that :
> > ><?php
> > >$other = &$GLOBALS;
> > >if ($other ==$GLOBALS) echo "Success";
> > >?>
> > >and I php crashed with :
> > >
> > >Fatal error: Nesting level too deep - recursive dependency? in
> > >c:\apache\htdocs\ad.php on line 3
> >
> > What do you mean it 'crashed' with it?
> >
> > Zeev
> >
> >
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to