Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23944 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3834 invoked by uid 1010); 4 Jun 2006 16:20:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3818 invoked from network); 4 Jun 2006 16:20:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jun 2006 16:20:18 -0000 X-PHP-List-Original-Sender: manchokapitancho@gmail.com X-Host-Fingerprint: 64.233.184.232 wr-out-0506.google.com Linux 2.4/2.6 Received: from ([64.233.184.232:34716] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5E/DF-49656-14803844 for ; Sun, 04 Jun 2006 12:20:17 -0400 Received: by wr-out-0506.google.com with SMTP id 58so1367462wri for ; Sun, 04 Jun 2006 09:20:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=t7tDSoSdu3cSfENKreMyP2oskOx0RqKk6vnVf2JJDgpFqaBTMDg1p15BeMhigyfYnLYRp7QQ35odPv3BChdD7EU27QTdXR3p4uPEtXeB0fbxdmDqQAU9byueux3z8UAaKgI/XvPz1YmAhTOFwKyOInMoxjRMoref8qssHVKpbTE= Received: by 10.65.53.20 with SMTP id f20mr2896462qbk; Sun, 04 Jun 2006 09:20:13 -0700 (PDT) Received: by 10.65.186.19 with HTTP; Sun, 4 Jun 2006 09:20:13 -0700 (PDT) Message-ID: Date: Sun, 4 Jun 2006 19:20:13 +0300 To: internals@lists.php.net In-Reply-To: <795156743.20060603134212@marcus-boerger.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21701_1021927.1149438013662" References: <795156743.20060603134212@marcus-boerger.de> Subject: Re: [PHP-DEV] Missing __toString() part From: manchokapitancho@gmail.com ("Marian Kostadinov") ------=_Part_21701_1021927.1149438013662 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline There will be a BC problem with classes implementing ArrayAccess where the array key is passed to offsetXXX methods as it is. And there we have objects also allowed as parameters. 2006/6/3, Marcus Boerger : > > Hello guys, > > the attached patch closes one more __toString() part. It allows > to use objects that define __toString as indexes to arrays. What do > you guys think about this, should we add it or stay with the old > behavior that didn't allow objects as indexes at all. > > -- > Best regards, > Marcus mailto:mail@marcus-boerger.de > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > > ------=_Part_21701_1021927.1149438013662--