On 1 June 2011 08:57, Etienne Kneuss <col...@php.net> wrote: > +1 for a short array syntax. > > But only if you keep it consistent, PHP has always been using => for > key/val association, I don't see any reason to suddenly provide "key": > "val", unless what you want is to confuse people.
Agreed here: +1 for short array syntax using =>; -0 for short array syntax using colons. PHP isn't JSON, and I'd rather be consistent with previous PHP syntax, given the choice. Adam -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php