Re: [PHP-DEV] Re: deprecation status of $str{42} versus $str[42], revisited

2010-09-28 Thread 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 >> be

Re: [PHP-DEV] Re: deprecation status of $str{42} versus $str[42], revisited

2010-09-28 Thread Peter Cowburn
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 :) > Are there any further

Re: [PHP-DEV] Re: deprecation status of $str{42} versus $str[42], revisited

2010-09-23 Thread Arvids Godjuks
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 :)

[PHP-DEV] Re: deprecation status of $str{42} versus $str[42], revisited

2010-09-23 Thread Mark Skilbeck
On 22/09/10 22:34, Philip Olson wrote: Greetings geeks, This topic still lacks a defined conclusion. There are several rumors that something was decided, but I can't confirm this without archived proof. Here's the code: $str = "I am an array of characters, but still a string."; echo $s

[PHP-DEV] Re: deprecation status of $str{42} versus $str[42], revisited

2010-09-23 Thread Mark Skilbeck
On 22/09/10 22:34, Philip Olson wrote: Greetings geeks, This topic still lacks a defined conclusion. There are several rumors that something was decided, but I can't confirm this without archived proof. Here's the code: $str = "I am an array of characters, but still a string."; echo $s