Addressed to: Toby Butzon <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from Toby Butzon <[EMAIL PROTECTED]> Wed, 07 Mar 2001
18:07:29 -0500
>
> Greetings,
>
> I know there's been some discussion of adding support for string
> indexing (that would be exclusive to strings [because it wouldn't apply
> to arrays] and therefore more efficient) using curly braces
> ($someStr{0}, $someStr{1}, etc.).
>
> Has this been implemented, and, if so, in what version did this first
> appear?
Yes. I am using 4.0.2 and it is supported. I am not sure how long it
has been available. Currently $SomeStr[0] and $SomeStr{0} are the same
thing, but someday the [] notation will go away. Maybe php 5.
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]