3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class X { public function __call($x) { echo $x; } } var_dump(method_exists('X', 'xxx')); var_dump(is_callable(array(new X, 'xxx')));
Output for 7.0.0 - 7.0.1
Fatal error: Method X::__call() must take exactly 2 arguments in /in/TGktS on line 6
Process exited with code 255.
Output for 5.3.21 - 5.6.16
Fatal error: Method X::__call() must take exactly 2 arguments in /in/TGktS on line 7
Process exited with code 255.