2 ms·
PHP has the list construct which is a little uglier, and has a couple of odd behaviors php > $t = array(1, 2); php > list($a, $b) = $t; php > echo
by Ardren 13y ago
PHP has the list construct which is a little uglier, and has a couple of odd behaviors
php > $t = array(1, 2);
php > list($a, $b) = $t;
php > echo "$a, $b";
1, 2