3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo call_user_func_array("foobar", array("one", "two")); ?>
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'foobar' not found or invalid function name in /in/ZoGPi on line 2
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: function: method 'foobar' not found in /in/ZoGPi on line 2
Output for 5.0.0 - 5.2.17
Warning: call_user_func_array(): First argument is expected to be a valid callback, 'foobar' was given in /in/ZoGPi on line 2
Output for 4.3.2 - 4.4.9
Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'foobar' was given in /in/ZoGPi on line 2
Output for 4.3.0 - 4.3.1
Warning: call_user_func_array() [http://www.php.net/function.call-user-func-array]: First argumented is expected to be a valid callback, 'foobar' was given in /in/ZoGPi on line 2