3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($b, $a) { return $b . $a; } var_dump(call_user_func_array('foo', ['a' => 'first', 'b' => 'second'])); var_dump(call_user_func_array('foo', ['first', 'second']));