3 ms·
2 lines in the parser: http://svn.php.net/viewvc/php/php-src/trunk/Zend/zend_language_parser.y?r1=313094&r2=313641 http://svn.php.net/viewvc/php/php-src/trunk/Z
by vmind 15y ago
2 lines in the parser: http://svn.php.net/viewvc/php/php-src/trunk/Zend/zend_language_parser.y?r1=313094&r2=313641 http://svn.php.net/viewvc/php/php-src/trunk/Zend/zend_langua...
The RFC (https://wiki.php.net/rfc/shortsyntaxforarrays https://wiki.php.net/rfc/shortsyntaxforarrays) was actually rejected by the developers, I think it's only really been put in to appease large userland pressure. Find it rather amusing that a 2 change to the parser for an alias would be rejected on 'maintainability' grounds.
- birken 15y agoThe voting results on the RFC page is from 2008 when it was rejected. The recent vote that decided its inclusion was here: https://wiki.php.net/todo/php54/vote https://wiki.php.net/todo/php54/vote. I think it had pretty solid support from core developers as well as userland people this time around.