Re: PHP 6.0 Wishlist

From: Date: Sat, 13 Aug 2005 09:39:55 +0000
Subject: Re: PHP 6.0 Wishlist
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-17948@lists.php.net to get a copy of this message
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" <andrei@gravitonic.com> wrote in message news:73D65ACE-D442-41FF-A35C-42D92F7B7A75@gravitonic.com... > 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 > >> > >

« previous php.internals (#17948) next »