3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php interface barInterface { public function foo(); } abstract class barAbstract { abstract public function foo(); } class bar extends barAbstract implements barInterface { public function foo(); }
Output for 5.3.0 - 5.4.16
Fatal error: Non-abstract method bar::foo() must contain body in /in/EQ6Rg on line 11
Process exited with code 255.