PHP5 introduced the concept of OOPs(Object Oriented Programming) in PHP. The concept of OOPs is widely used in plugin and widget development in WordPress.
OOPs in PHP is not much different from other languages like C++ but there are a few things which are not yet implemented like Function Overloading.
Object Oriented Programming consists of below -
Polymorphism
Inheritance
Function Overriding
Static Keyword
Abstract Class
Interface Class
Comments