3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Test { abstract function foo() { return 'bar'; } } $class = 'Test'; var_dump($class::foo());
Output for 5.3.0 - 5.4.24
Fatal error: Abstract function Test::foo() cannot contain body in /in/uNFic on line 6
Process exited with code 255.