Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19885 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72668 invoked by uid 1010); 1 Nov 2005 15:23:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72653 invoked from network); 1 Nov 2005 15:23:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Nov 2005 15:23:41 -0000 X-Host-Fingerprint: 64.233.184.205 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.205:6567] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C4/6C-02082-D7887634 for ; Tue, 01 Nov 2005 10:23:41 -0500 Received: by wproxy.gmail.com with SMTP id 71so562154wra for ; Tue, 01 Nov 2005 07:23:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eApr2UI2dqxWPkYWOjIc8vGLywHteuv2leHnf0HyKS8Z0I3nPv7GrOuCXc6n2xKlcK/Gl1eL04FQfOBrdHbMOYSNTi7aT+FDn0YQpurzaiJ4v+MMMug5RMlzqD3I8L4ArGmc1+72lg9GcnHjU58oCkygHmnTRk8+lT6YpSQe93o= Received: by 10.54.12.16 with SMTP id 16mr1430500wrl; Tue, 01 Nov 2005 07:23:39 -0800 (PST) Received: by 10.54.76.6 with HTTP; Tue, 1 Nov 2005 07:23:39 -0800 (PST) Message-ID: <4e89b4260511010723k5e06e7e1h7d2048a455721ae3@mail.gmail.com> Date: Tue, 1 Nov 2005 11:23:39 -0400 To: Amin Azez Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Subject: Re: [PHP-DEV] === on objects fails with recursion! WTH? From: kingwez@gmail.com (Wez Furlong) I proposed a patch to fix this a while back (at least a year ago). --Wez. On 11/1/05, Amin Azez wrote: > if ($object1=3D=3D=3D$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 =3D=3D=3D=3D instead that REALLY does what it seems =3D=3D=3D = 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 > >