3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo { abstract function fooFunc() { return 'hello'; } } $callable = array(new Foo, 'fooFunc'); var_dump(is_callable($callable)); var_dump(call_user_func($callable));
Output for 5.3.0 - 5.4.27
Fatal error: Abstract function Foo::fooFunc() cannot contain body in /in/uto65 on line 7
Process exited with code 255.