写道
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();
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();
?