3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php call_user_func_array('test', $params);
Output for 7.0.0 - 7.1.0
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'test' not found or invalid function name in /in/1L5cr on line 2 Notice: Undefined variable: params in /in/1L5cr on line 2 Warning: call_user_func_array() expects parameter 2 to be array, null given in /in/1L5cr on line 2
Output for hhvm-3.10.0 - 3.13.2
Warning: Invalid argument: function: method 'test' not found in /in/1L5cr on line 2 Notice: Undefined variable: params in /in/1L5cr on line 2
Output for 5.3.0 - 5.6.28
Notice: Undefined variable: params in /in/1L5cr on line 2 Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'test' not found or invalid function name in /in/1L5cr on line 2
Output for 5.0.4 - 5.2.17
Notice: Undefined variable: params in /in/1L5cr on line 2 Warning: call_user_func_array(): First argument is expected to be a valid callback, 'test' was given in /in/1L5cr on line 2
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: params in /in/1L5cr on line 2 Warning: call_user_func_array(): First argument is expected to be a valid callback, 'test' was given in /in/1L5cr on line 2
Output for 4.3.2 - 4.4.9
Notice: Undefined variable: params in /in/1L5cr on line 2 Warning: call_user_func_array(): First argumented is expected to be a valid callback, 'test' was given in /in/1L5cr on line 2
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: params in /in/1L5cr on line 2 Warning: call_user_func_array() [http://www.php.net/function.call-user-func-array]: First argumented is expected to be a valid callback, 'test' was given in /in/1L5cr on line 2