Er, that should be:<p><pre><code>  list($a, $b) = [$b, $a];

  list($a, $b) = (function(){ return [&quot;one value&quot;, &quot;another&quot;];})();
</code></pre>
Anyway, it&#x27;s not even out-of-date, just ignorant. PHP has list() for at least 16 years.