Re:Short array syntax finally in PHP 5.4
by jrockway on Sunday July 24, 2011 @07:16PM
(#2800621)
It looks more obviously "language feature" in Perl, Python, and JavaScript, though:
[ Parent
| on HN ]
How are any of those examples significantly different from:
list($foo, $bar) = f();
Given that PHP uses the array() keyword for constructing arrays, it is perfectly symmetrical. My IDE highlights the list() keyword just the same as all the other keywords.