note 54631 deleted from language.oop.object-comparison by mazzanet
| From: | mazzanet@php.net | Date: | Sun, 10 Jul 2005 22:28:07 +0000 |
| Subject: | note 54631 deleted from language.oop.object-comparison by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91749@lists.php.net to get a copy of this message | ||
Note Submitter: gree at grees dot net
----
My object identity (reference identity) test is more pragmatic, but in php4 is the fastest i know.
<?php
$object->holder->test = "vole";
echo $object->holder->test;
echo $this->holder->test; //are these two holders the same object?
echo "<br>";
?>