=== on objects fails with recursion! WTH?

From: Date: Tue, 01 Nov 2005 14:52:30 +0000
Subject: === on objects fails with recursion! WTH?
Groups: php.internals 
Request: Send a blank email to internals+get-19884@lists.php.net to get a copy of this message
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

« previous php.internals (#19884) next »