浅谈php中的访问修饰符private、protected、public的作用范围 1、private只能在类内部使用2、protected可以在类内部和继承类里使用。类外部不能使用【即实 protected修饰符