Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12122 invoked from network); 28 Sep 2010 22:53:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Sep 2010 22:53:39 -0000 Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 209.85.160.170 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:54078] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/92-29017-2F172AC4 for ; Tue, 28 Sep 2010 18:53:38 -0400 Received: by gyd10 with SMTP id 10so89723gyd.29 for ; Tue, 28 Sep 2010 15:53:35 -0700 (PDT) Received: by 10.100.135.19 with SMTP id i19mr264388and.108.1285714415362; Tue, 28 Sep 2010 15:53:35 -0700 (PDT) Received: from [192.168.1.2] (c-76-22-32-17.hsd1.wa.comcast.net [76.22.32.17]) by mx.google.com with ESMTPS id f29sm8942133anh.11.2010.09.28.15.53.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Sep 2010 15:53:33 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii In-Reply-To: Date: Tue, 28 Sep 2010 15:53:31 -0700 Cc: Arvids Godjuks , Mark Skilbeck , internals@lists.php.net, Andi Gutmans Content-Transfer-Encoding: quoted-printable Message-ID: References: <9CE5BB6D-2BBC-4171-AF43-01A27EBDE1EF@roshambo.org> <4C9BADDD.3010201@gmail.com> To: Peter Cowburn X-Mailer: Apple Mail (2.1081) Subject: Re: [PHP-DEV] Re: deprecation status of $str{42} versus $str[42], revisited From: philip@roshambo.org (Philip Olson) On Sep 28, 2010, at 2:28 PM, Peter Cowburn wrote: > On 23 September 2010 21:39, Arvids Godjuks = wrote: >> I think leave both ways, because it's really much of the code uses = actually >> {4} rather than [4] for strings. >> But please do the substr functionality as it was suggested a few = years >> before. That makes perfect sense :) >>=20 >=20 > Are there any further thoughts on this thread? Even though {} is a > small and likely uninteresting topic, it would be nice to actually > (finally, until we change our minds) come to a conclusion and unite > the code with the docs. Was going to wait a week (we're close enough) but this thread (and past = ones) decided that $str{42} is no longer deprecated, with hope that the = syntax will be optimized by Chris, Andi, or whoever scratches that itch = in the future. The documentation will be updated. Regards, Philip=