PHP – Static Properties
Static properties can be called directly – without creating an instance of a class.
Static properties are declared with the static
keyword:
Syntax
<?php class ClassName { public static $staticProp = "iampsp"; } ?>
To access a static property use the class name, double colon (::), and the property name: Continue reading PHP OOP – Static Properties