Re: === on objects fails with recursion! WTH?

From: Date: Tue, 01 Nov 2005 15:50:51 +0000
Subject: Re: === on objects fails with recursion! WTH?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-19888@lists.php.net to get a copy of this message
You'll need to search the mailing list archives. --Wez. On 11/1/05, Amin Azez <azez@ufomechanic.net> wrote: > Wez Furlong wrote: > > I proposed a patch to fix this a while back (at least a year ago). > > I'm trying to file it as a bug, but bugs.php.net seems to be down, > probably busy recusrively comparing objects or something. > > Could you post it (or a URL) please so I can patch. > Had you already filed this as a bug report? > > Sadly searches on === reveal nothing. > > > Sam > > > > > --Wez. > > > > On 11/1/05, Amin Azez <azez@ufomechanic.net> wrote: > > > >>if ($object1===$object2) > >> > >>does a recursive check! > >>"Fatal error: Nesting level too deep - recursive dependency?" > >>Whats going on? > >> > >>I've go lots of object references all highly recursive and I just > >>sometimes need to check if two objects are the same object i.e. they > >>have the same storage address; I don't need to (and can't afford the > >>time) to recursively check every field. > >> > >>Is there a ==== instead that REALLY does what it seems === is trying to > >>fake, presumably to cover up all the object copying that is normally > >>going on but that I've managed to avoid? > >> > >>Sam > >> > >>-- > >>PHP Internals - PHP Runtime Development Mailing List > >>To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > > > > > >

« previous php.internals (#19888) next »