3v4l.org

run code in 300+ PHP versions simultaneously
<?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));

preferences:
38 ms | 402 KiB | 5 Q