3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php call_user_method();
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function call_user_method() in /in/PeU9J:3 Stack trace: #0 {main} thrown in /in/PeU9J on line 3
Process exited with code 255.
Output for hhvm-3.12.0
Warning: call_user_method() expects at least 2 parameters, 0 given in /in/PeU9J on line -1 Catchable fatal error: Argument 1 passed to call_user_method() must implement interface Stringish, undefined variable given in /in/PeU9J on line -1
Process exited with code 255.
Output for hhvm-3.10.0
Warning: call_user_method() expects at least 2 parameters, 0 given in /in/PeU9J on line 3 Catchable fatal error: Argument 1 passed to call_user_method() must implement interface Stringish, undefined variable given in /in/PeU9J on line 3
Process exited with code 255.
Output for 5.3.0 - 5.6.28
Deprecated: Function call_user_method() is deprecated in /in/PeU9J on line 3 Warning: call_user_method() expects at least 2 parameters, 0 given in /in/PeU9J on line 3
Output for 5.2.0 - 5.2.17
Strict Standards: Function call_user_method() is deprecated in /in/PeU9J on line 3 Warning: Wrong parameter count for call_user_method() in /in/PeU9J on line 3
Output for 4.3.2 - 5.1.6
Notice: call_user_method(): This function is deprecated, use the call_user_func variety with the array(&$obj, "method") syntax instead in /in/PeU9J on line 3 Warning: Wrong parameter count for call_user_method() in /in/PeU9J on line 3
Output for 4.3.0 - 4.3.1
Notice: call_user_method() [http://www.php.net/function.call-user-method]: This function is deprecated, use the call_user_func variety with the array(&$obj, "method") syntax instead in /in/PeU9J on line 3 Warning: Wrong parameter count for call_user_method() in /in/PeU9J on line 3