3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { public function testing() { echo 'test'; } public function __call() { echo 'testing'; } } $test = new Test; var_dump(method_exists($test, 'testing')); var_dump(method_exists($test, 'testing \''));
based on YA8Ua
Output for 7.0.0 - 7.1.6
Fatal error: Method Test::__call() must take exactly 2 arguments in /in/Yg1lB on line 13
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: Method Test::__call() must take exactly 2 arguments in /in/Yg1lB:11 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Fatal error: Method Test::__call() must take exactly 2 arguments in /in/Yg1lB on line 14
Process exited with code 255.