Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4768 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75959 invoked by uid 1010); 9 Oct 2003 14:42:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75925 invoked from network); 9 Oct 2003 14:42:41 -0000 Received: from unknown (HELO mx.thebrainroom.net) (65.200.24.98) by pb1.pair.com with SMTP; 9 Oct 2003 14:42:41 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id 939C21488089; Thu, 9 Oct 2003 07:41:10 -0700 (PDT) Received: from zaneeb.thebrainroom.net (zaneeb.thebrainroom.net [82.133.1.138]) by mx.thebrainroom.net (Postfix) with ESMTP id 9E7191488087; Thu, 9 Oct 2003 07:41:07 -0700 (PDT) Received: from titan (titan.thebrainroom.net [82.133.1.139]) by zaneeb.thebrainroom.net (8.11.6/8.11.6) with SMTP id h99EgbK02687; Thu, 9 Oct 2003 15:42:37 +0100 Message-ID: <05aa01c38e73$95353020$8b018552@titan> To: , References: Date: Thu, 9 Oct 2003 15:42:36 +0100 Organization: The Brain Room Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 X-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,QUOTED_EMAIL_TEXT,REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-TBR-Filter: Virus scanned and defanged Subject: Re: [PHP-DEV] Object Equality From: wez@thebrainroom.com ("Wez Furlong") Interestingly enough, I brought up this issue just over a year ago. Even more interesting is that I stumbled across my original post from that time while looking into something else today. http://news.php.net/article.php?group=php.dev&article=88735 (patch included) --Wez. ----- Original Message ----- From: To: Sent: Wednesday, October 08, 2003 3:21 PM Subject: [PHP-DEV] Object Equality > (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.