3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php abstract class Foo { abstract public function bar(); } class Bar extends Foo {}
Output for 5.3.0 - 5.4.22
Fatal error: Class Bar contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Foo::bar) in /in/ooZ9O on line 9
Process exited with code 255.