On 31/05/11 19:42, Brian Moon wrote:
https://wiki.php.net/rfc/shortsyntaxforarrays

Since this was brought again recently by Rasmus

<snip>

I'm all for this, though I would confess to having a preference for the second syntax:

$arr = [ 'foo' => 'bar', 'baz' => 'foo' ]

seems to fit better with PHP than the other one, JSON-compatibility aside.

--
Cheers,
Michael

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

Reply via email to