Go from PHP engineer's perspective
sobit.me
sobit.me
[1] My company ran into a problem where one of our Ruby service responses was taking something about 100ms. We ruled out the database, and the ruby code, and finally discovered that the problem was jumping back and forth between Ruby and C while generating the JSON response from model classes with customized `to_json` behavior. We solved it by traversing the structure in Ruby and turning it into Arrays and Hashes. Back down under 10ms!
Because your question is loaded?
list(a, b) = [b, a]
Multiple return values:
[a, b] = function(){ return ["one value", "another"];};
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.