- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
- Fatal error: Abstract function ChildCls::getName() cannot contain body in /in/nhBt8 on line 9
Process exited with code 255.
<?php
abstract class BaseCls{
protected abstract function getName();
}
class ChildCls extends BaseCls{
protected abstract function getName(){
}
}