3v4l.org

run code in 300+ PHP versions simultaneously
<?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 \''));
Output for 7.0.0 - 7.0.20, 7.1.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.

preferences:
166.47 ms | 1395 KiB | 35 Q