run code in 150+ php & hhvm versions
Bugs & Features
<?php abstract class BaseCls{ protected abstract function getName(); } class ChildCls extends BaseCls{ }
Output for 5.3.0 - 5.4.25
Fatal error: Class ChildCls contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (BaseCls::getName) in /in/Sc2eL on line 7
Process exited with code 255.