php在类中使用静态方法的方式:1、使用self,代码为【self::test();】;2、使用类名,代码为【public function test1()a::test()】;3、使用static,代码为【static::test()】。
技术文章 / 下载软件趣味内容 / 专业带飞