3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo() { $args = func_get_args(); print_r($args); } call_user_func_array('foo', array("lorem" => 42, "ipsum" => 37, "dolor" => 19, 1 => 20, 0 => 10, 5 => 60));
based on YGl4X
Output for 4.3.0 - 7.2.0
Array ( [0] => 42 [1] => 37 [2] => 19 [3] => 20 [4] => 10 [5] => 60 )