PHP — P57: Scope Resolution Operator

Dino Cajic
Dev Genius
Published in
5 min readJun 14, 2022

--

PHP Double Colon — Scope Resolution Operator

In PHP, the scope resolution operator, or the double colon ::, allows you to access constants, static properties and methods, and overridden properties and methods. We’ve created a couple of constants in our previous articles, but we’ve never actually accessed them.

--

--

Author of An Illustrative Introduction to Algorithms. IT Leader with a B.S. in Computer Science, a minor in Biology, and a passion for learning.