写道
class A{
private function aa(){
echo 123;
}
private function aa1(){
echo 123;
}
}
class B extends A{
protected function aa($b){
echo 456;
}
protected function aa1($b){
echo 456;
}
static function a(){
$m = new self();
$m->aa(1);
}
}
B::a();
原文参考自站长网:
阅读(1066) | 评论(0) | 转发(0) |