run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('display_errors',1); error_reporting(E_ALL); abstract class weapon {abstract function fire();} class sword extends weapon {} echo 'hello world'; ?>
Output for 5.3.0 - 5.4.29
Fatal error: Class sword contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (weapon::fire) in /in/adcan on line 10
Process exited with code 255.