3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class X { public function __call($m) { } } class Y { } var_dump(is_callable([new X, 'wa']), is_callable([new Y, 'wa']));
Output for 7.0.0 - 7.0.1
Fatal error: Method X::__call() must take exactly 2 arguments in /in/LZjce 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/LZjce on line 8
Process exited with code 255.