3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php abstract class BaseCls{ protected abstract function getName(); } class ChildCls extends BaseCls{ protected abstract function getName(){ } }
Output for 5.3.0 - 5.4.25
Fatal error: Abstract function ChildCls::getName() cannot contain body in /in/nhBt8 on line 9
Process exited with code 255.