3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function fn1() { echo 'hello'; } call_user_func_array('fn 1', array());
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 'fn 1' not found or invalid function name in /in/nfZNB on line 7
Output for hhvm-3.12.0
Warning: Invalid argument: function: method 'fn 1' not found in /in/nfZNB on line 7
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.2.17
Warning: call_user_func_array(): First argument is expected to be a valid callback, 'fn 1' was given in /in/nfZNB on line 7
Output for 4.3.2 - 4.4.9
Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'fn 1' was given in /in/nfZNB on line 7
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, 'fn 1' was given in /in/nfZNB on line 7