Hi
 
I have a proposal for new alternative syntax for list
 
// In the old days we did this
 
list ($a, $b) = array (1, 2);
 
// With the new array syntax this has been improved to
 
list ($a, $b) = [1, 2];
 
// I think this new syntax should logically extend to
 
[$a, $b] = [1, 2];
 
Regards
 
Julian
 
Julian Rhind




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

Reply via email to