Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19887 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80904 invoked by uid 1010); 1 Nov 2005 15:46:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80888 invoked from network); 1 Nov 2005 15:46:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Nov 2005 15:46:18 -0000 X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from ([80.91.229.2:41325] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 9B/5D-02082-9CD87634 for ; Tue, 01 Nov 2005 10:46:17 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EWyKd-0000vV-N8 for internals@lists.php.net; Tue, 01 Nov 2005 16:45:51 +0100 Received: from 82.153.158.114 ([82.153.158.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Nov 2005 16:45:51 +0100 Received: from azez by 82.153.158.114 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Nov 2005 16:45:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Tue, 01 Nov 2005 15:43:13 +0000 Lines: 43 Message-ID: <43678D11.2060807@ufomechanic.net> References: <4e89b4260511010723k5e06e7e1h7d2048a455721ae3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: internals@lists.php.net X-Gmane-NNTP-Posting-Host: 82.153.158.114 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en In-Reply-To: <4e89b4260511010723k5e06e7e1h7d2048a455721ae3@mail.gmail.com> Sender: news Subject: Re: [PHP-DEV] === on objects fails with recursion! WTH? From: azez@ufomechanic.net (Amin Azez) Wez Furlong wrote: > I proposed a patch to fix this a while back (at least a year ago). I'm trying to file it as a bug, but bugs.php.net seems to be down, probably busy recusrively comparing objects or something. Could you post it (or a URL) please so I can patch. Had you already filed this as a bug report? Sadly searches on === reveal nothing. Sam > > --Wez. > > On 11/1/05, Amin Azez wrote: > >>if ($object1===$object2) >> >>does a recursive check! >>"Fatal error: Nesting level too deep - recursive dependency?" >>Whats going on? >> >>I've go lots of object references all highly recursive and I just >>sometimes need to check if two objects are the same object i.e. they >>have the same storage address; I don't need to (and can't afford the >>time) to recursively check every field. >> >>Is there a ==== instead that REALLY does what it seems === is trying to >>fake, presumably to cover up all the object copying that is normally >>going on but that I've managed to avoid? >> >>Sam >> >>-- >>PHP Internals - PHP Runtime Development Mailing List >>To unsubscribe, visit: http://www.php.net/unsub.php >> >> > >