The Difference Between self::, static:: and parent:: in PHP
By Eric McWinNEr. Updated Sun Jun 18 2023In a lot of ways, PHP supports Object-Oriented Programming (especially using self::, static:: and parent:: in PHP).
Seeing code written procedurally is becoming archaic and akin to finding dinosaur fossils in the Antarctic.
We can all agree that writing code in an Object-Oriented way is better than writing it procedurally in a lot of ways.

One of the fundamental tenets of an Object-Oriented Language is the concept of inheritance. A programming language must support inheritance to be seen as Object Oriented or maybe.