>> Won't `$obj1 === $obj2` work for you ? >> > > This works if you have two objects which are easily accessible in the same > scope. > > Not that it can not be done this way, but it may require jumping through > hoops to get two object references into the common scope where you can > compare them.
If you can get their hashes to the same place, you can get the object to the same place. Big -1 from me. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php