On Sep 28, 2010, at 2:28 PM, Peter Cowburn wrote: > On 23 September 2010 21:39, Arvids Godjuks <arvids.godj...@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