Returning Multiple Values Return an array function my_function() { return array (0, 1, 2); } list ($value0, $value1, $value2) = my_function(); Read More →
Functions General Function Examples Functions with optional arguments With a default array Read More →