3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __call() { } } $callable = 'Foo::fooBar'; var_dump(is_callable($callable)); //var_dump(call_user_func($callable));
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
Fatal error: Method Foo::__call() must take exactly 2 arguments in /in/j4hF2 on line 4
Process exited with code 255.

preferences:
196.56 ms | 1395 KiB | 64 Q