Test Download 2
Object-Oriented Programming Concepts in PHP – Part 2
In this blog, we will be explaining some of the Object-Oriented Programming concepts in PHP with some examples.
The PHP Object-Oriented Programming concepts are:
- Class
- Objects
- Inheritance
- Interface
- Abstraction
- Magic Methods
Class  & Object:
- Class is a programmer-defined data type, which includes local methods and local variables.
- Class is a collection of objects. Object has properties and behaviour.
- First we have to define a php class, where classname should be same as filename.
Rs.1,200.00 Rs.1,000.00