3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php call_user_func(2, '123');
Output for 5.6.0 - 5.6.38, 7.0.0 - 7.2.11
Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /in/DRIVm on line 3
Output for hhvm-3.22.0
Warning: Invalid argument: function: not string, closure, or array in /in/DRIVm on line -1
Output for hhvm-3.15.4 - 3.21.3
Warning: Invalid argument: function: not string, closure, or array in /in/DRIVm on line 3