PHP中修饰符的访问权限

如图所示 class Person { protected $age = 10; private $name = ‘靓仔’; public function e…