In this tutorial, we will learn about What is PHP OOPs. OOP stands for Object-Oriented Programming. Object-oriented programming is a programming paradigm based on the concept of classes and objects. By using the OOPs approach we can divide the software program into simple, reusable pieces of code(known as a class). The classes are used to create individual instances of objects.
Difference between Class and Objects:
Class is like the blueprint to create instances of the object and we can create multiple instances of a class. Please check out the following illustration to understand the concept of class and objects more wisley.
Important Object-Oriented Concepts:
- Member Variable
- Member function