3v4l.org

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