Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4766 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26466 invoked by uid 1010); 9 Oct 2003 02:19:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26377 invoked from network); 9 Oct 2003 02:19:37 -0000 Received: from unknown (HELO sccimhc02.asp.att.net) (63.240.76.164) by pb1.pair.com with SMTP; 9 Oct 2003 02:19:37 -0000 Received: from insightbb.com (12-223-87-232.client.insightbb.com[12.223.87.232]) by sccimhc02.asp.att.net (sccimhc02) with SMTP id <20031009021819im200ln11re>; Thu, 9 Oct 2003 02:18:19 +0000 Date: Wed, 8 Oct 2003 10:21:32 -0400 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed To: internals@lists.php.net Content-Transfer-Encoding: 7bit Message-ID: X-Mailer: Apple Mail (2.552) Subject: Object Equality From: LingWitt@insightbb.com (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.