On Wed, 1 Jun 2011, Etienne Kneuss wrote:

> +1 for a short array syntax.

I'm still -1 on it. It makes absolutely unreadable code (yes, also in 
JavaScript with f.e. MongoDB).

> 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.

Yes, definitely "=>" vs. ":" in any case.

cheers,
Derick

-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug

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

Reply via email to