Object Equality
| From: | LingWitt at insightbb dot com | Date: | Wed, 08 Oct 2003 14:21:32 +0000 |
| Subject: | Object Equality | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-4766@lists.php.net to get a copy of this message | ||
(Note: this email seems to relate to this list in my opinion, but I have been chewed out before when posting such emails)
I am using PHP 4.3.2, and it seems that testing objects for equality (with == or ===) causes an internal bug when the objects have recursive instance variables. That is, if the objects being tested have a variable that is a reference to an object that has a variable that is a reference to the first object, then the PHP processor dies. What can be done about this? If this needs to be sent to another mailing list, please let me know.
Thank you.