-1

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?

sadankhan
  • 45
  • 5
  • It's called [PAAMAYIM NEKUDOTAYIM](https://php.net/manual/en/language.oop5.paamayim-nekudotayim.php) – Dharman Jul 29 '19 at 17:59

1 Answers1

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