要执行父类的构造函数,需要在子类的构造函数中调用parent::__construct()。 ... 为了实现向后兼容性,如果PHP 5 在类中找不到__construct() 函数并且也没有从父类继承 ...
確定! 回上一頁