class Control{
static function __construct() {
echo "5555555555555";
}
class BaseHomeControl extends Control {
public function __construct(){
parent::__construct();
...全文
15410打赏收藏
空白页的一个问题
我在shopnc框架中的父类里写了一个构造函数,然后子类中的构造函数引用了父类中的构造函数,但没想到出的结果是空白页也没有提示,在没有写之前是有输出结果的,另外其他东西我没有动,这种情况一般是由什么引起的呢 class Control{ static function __construct() { echo "5555555555555"; } class BaseHomeControl extends Control { public function __construct(){ pare