php 静态方法
时间:2020-05-12 14:53:12
收藏:0
阅读:43
The only rule is that static methods or properties are out of object context. For example, you cannot use $this inside of a static method.
$MyClass = new MyClass();
$MyClass->Foo();
MyClass::Foo()
原文:https://www.cnblogs.com/qinqiu/p/12876080.html
评论(0)