Home > Article > Backend Development > What does :: mean in php? About the description and application of :: in php
The same applies to calling the static method Test::test(); directly call the static method test
2.Two colons (::) are static references to methods in the class
That is, there is no need to instantiate the object, and the methods in the class are directly referenced through the class name
The above introduces what does :: mean in php? Regarding the description and application of :: in php, it includes some aspects. I hope it will be helpful to friends who are interested in PHP tutorials.