3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo { abstract function fooBar(); } $callable = 'Foo:fooBar'; var_dump(is_callable($callable)); //var_dump(call_user_func($callable));
Output for 5.3.0 - 5.4.27
Fatal error: Class Foo contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Foo::fooBar) in /in/Kefdj on line 5
Process exited with code 255.