What we call two semicolon symbol '::' in php used for accessing static properties and methods in PHP along with class name like Cars::$wheels; or Car::car_details();. Does it have a name?
Asked
Active
Viewed 520 times
1 Answers
1
It is the Scope Resolution Operator. From the docs
The Scope Resolution Operator (also called Paamayim Nekudotayim) or in simpler terms, the double colon, is a token that allows access to static, constant, and overridden properties or methods of a class.

Jay Blanchard
- 34,243
- 16
- 77
- 119