When I had nothing to do, I just looked for some information about OO in PHP, access control modifiers, several keywords such as self, parent, const, static, and arrow operators (also called so in the book...that is, " ->"), range parsing operator (i.e. double colon "::"), but I think this is much the same as OO in C# language, and it is easy to understand. However, we should still take a look to clarify the OO ideas in PHP. Yes.
-------------------------------------------------- ----------------------------------
Declare static class members and methods so that it does not require a Instances of classes. A declaration of a static member cannot be accessed through an instance of a class object (although a static method can).
Static declarations must come after visibility declarations. For compatibility with PHP 4, if no visibility is declared, then members and methods will be treated as if they had been declared public.
Since static methods can call non-object instances, the pseudo variable $this cannot be used in methods declared as static.
In fact, the static method calling form is determined at compile time. When using a class name that must be declared, the approach is full identification and no inheritance rules apply. This approach is fully valid when using class names that must be declared, and there are no rules for using inheritance.
If self has been declared, then self is interpreted by the class it currently belongs to. Nor does inheritance rules apply. Static properties cannot be accessed from non-static methods through the arrow operator ->., which will generate an E_STRICT level warning.