3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function f() { var_dump(func_get_args()); } var_dump(call_user_func_array('f', new stdClass())); var_dump(call_user_func_array('f', 42)); var_dump(call_user_func_array('f', null)); var_dump(call_user_func_array('f', 3.14));