The static modifier can be used before the property and the method to make it an attribute and a static method.
Access to static properties is accessed using classes such as human:: $head
1. After the class is generated, the static property is already present and no dependent objects are required to access
2. The class has only one in memory, so there is only one static property.
Common method, stored in the class, only one copy
Static method is also stored in the class, only one copy.
The difference is that the common method needs to use formation to mobilize, need to bind $this, must have the object, with the object transfer.
The static method, which does not belong to the object, belongs to the class, so there is no need to use $this to bind, the same class name can be called.
PHP static properties and static method learning notes