[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-internals
Subject:    Re: [PHP-DEV] Re: deprecation status of $str{42} versus $str[42], revisited
From:       Philip Olson <philip () roshambo ! org>
Date:       2010-09-28 22:53:31
Message-ID: FEAC5F7A-A4D5-488C-938A-A7A933B4B773 () roshambo ! org
[Download RAW message or body]


On Sep 28, 2010, at 2:28 PM, Peter Cowburn wrote:

> On 23 September 2010 21:39, Arvids Godjuks <arvids.godjuks@gmail.com> 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 :)
> > 
> 
> 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
-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic