What's bad about using [] for strings? I think people who come from a
C-background (like myself) really like that syntax. I'd prefer it to stay
the way it is.

Ron

"Andrei Zmievski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> We did, but we never arrived at consensus. I don't really see a good
> reason for giving people access to code-units with such a low-level
> operator. If we fix it, I'd rather fix it so that [] only works on
> arrays, and {} on strings, with some sort of BC switch.
>
> -Andrei
>
>
> On Aug 12, 2005, at 11:47 PM, Ilia Alshanetsky wrote:
>
> > I thought we've discussed making one access code-units and the other
> > code-points?
> >
> > Ilia
> >
> > Andrei Zmievski wrote:
> >
> >> On Aug 12, 2005, at 11:29 PM, Ilia Alshanetsky wrote:
> >>
> >>
> >>>> 12.  {} vs [] cleanup
> >>>>
> >>>>
> >>>
> >>> unicode support already makes such distinction it.
> >>>
> >>
> >>
> >> No, it doesn't. That's one of the thorny unresolved issues.
> >>
> >> -Andrei
> >>
> >

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to