Re: [PATCH] [ZE] (critical?) object comparison recursion bug
| From: | Sebastian Bergmann | Date: | Sun, 29 Sep 2002 17:24:15 +0000 |
| Subject: | Re: [PATCH] [ZE] (critical?) object comparison recursion bug | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88757@lists.php.net to get a copy of this message | ||
Wez Furlong wrote:
> I suppose that what I'm really after is an "is_same_object" test,
> rather than a is_equal_object or is_identical_object.
With the Zend Engine 2 you can use the === operator to check if to
variables reference the same object.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/