abstract class person{
abstract function test();
}
class father extends person{
function test(){
echo '我是在抽象类里继承下来的覆盖方法';
}
}
http://www.bkjia.com/PHPjc/477314.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/477314.htmlTechArticleabstract class person{ abstract function test(); } class father extends person{ function test(){ echo 我是在抽象类里继承下来的覆盖方法; } }...