3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foobar($arg, $arg2) { echo __FUNCTION__, " got $arg and $arg2\n"; } call_user_func_array("foobar", array('arg1' => "one", 'arg2' => "two"));
Output for 4.3.0 - 7.2.0
foobar got one and two