Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4769 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74237 invoked by uid 1010); 9 Oct 2003 16:37:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74029 invoked from network); 9 Oct 2003 16:37:56 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 9 Oct 2003 16:37:56 -0000 Received: (qmail 3605 invoked from network); 9 Oct 2003 16:37:48 -0000 Received: from localhost (HELO andi-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 9 Oct 2003 16:37:48 -0000 Message-ID: <5.1.0.14.2.20031009183459.0798c978@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 09 Oct 2003 18:36:10 +0200 To: "Wez Furlong" ,, In-Reply-To: <05aa01c38e73$95353020$8b018552@titan> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Object Equality From: andi@zend.com (Andi Gutmans) Hi Wez, Your patch breaks BC in 4.3.x. As the problem has been solved in PHP 5, I suggest we don't add the patch and wait for the major version to break BC (very slightly). Andi At 03:42 PM 10/9/2003 +0100, Wez Furlong wrote: >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. > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php