为什么可以调用到父类的私有属性$pri?
<?phpclass father { public $pub='public'; private $pri='private'; protected $pro='protected'; public function getpri(){ echo $this->pri; echo $this->pro; echo $this->pub; } }class son extends father{ public $pub='王二'; private $pri='黄金时代'; protected $pro='沉默的大多数'; public function getpub(){ echo $this->pub.''; echo $this->pro; echo $this->pri; } } $son=new son; $son->getpri();?>
斯蒂芬大帝