PHP Keywords: static
16 March 2019 - 7:24am
Welcome to my series on every PHP keyword and its usage. Today's item: static
.
Definitions
The static
keyword is used in two different ways, the first of which is defining static
properties and methods.
A static
property or method is one which belongs to the class itself, not an instance of it.