3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php call_user_func('get_called_class', 's');
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: get_called_class() expects exactly 0 parameters, 1 given in /in/MPkrs on line 2
Output for 4.3.2 - 5.2.17
Warning: call_user_func(get_called_class): First argument is expected to be a valid callback in /in/MPkrs on line 2
Output for 4.3.0 - 4.3.1
Warning: call_user_func(get_called_class) [http://www.php.net/function.call-user-func]: First argument is expected to be a valid callback in /in/MPkrs on line 2