run code in 200+ php & hhvm versions
Bugs & Features
<?php abstract class BaseCls{ protected abstract function getName($param); } class ChildCls extends BaseCls{ private function getName($param){ } }
Output for 5.3.0 - 5.4.25
Fatal error: Access level to ChildCls::getName() must be protected (as in class BaseCls) or weaker in /in/nK9bJ on line 10
Process exited with code 255.