- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
- Fatal error: Access level to ChildCls::getName() must be public (as in class BaseCls) in /in/WBWJZ on line 10
Process exited with code 255.
<?php
abstract class BaseCls{
public abstract function getName($param);
}
class ChildCls extends BaseCls{
protected function getName($param){
}
}