From PHP5, you can also write PHP code in an object-oriented style.
Object-Oriented programming is faster and easier to execute.
PHP What is OOP?
OOP stands for Object-Oriented Programming.
Procedural programming is about writing procedures or functions that perform operations on the data, while object-oriented programming is about creating objects that contain both data and functions. Continue reading PHP – What is OOP?