子类继承父类 父类private问起求各位大神详解
<?php <br /> class A{<br /> <br /> private function test($n){<br /> echo "11";<br /> }<br /> }<br /> class B extends A{<br /> function test(){<br /> echo "22";<br /> <br /> }<br /> }<br /> class C extends A{<br /> <br /> }<br /> $b1=new B();<br /> $b1->test();<br /> ?>