2 ms·
Er, that should be: list($a, $b) = [$b, $a]; list($a, $b) = (function(){ return ["one value", "another"];})(); Anyway, it's not even out-of-date, just ig
by TazeTSchnitzel 11y ago
Er, that should be:
list($a, $b) = [$b, $a];
list($a, $b) = (function(){ return ["one value", "another"];})();
Anyway, it's not even out-of-date, just ignorant. PHP has list() for at least 16 years.