php中的$this

与java,c++不同,php方法内部的要引用属性必须加$this   否则会认为是方法中的局部变量

原文地址:https://www.cnblogs.com/shenming/p/4245263.html