PHP Classes and Objects
1. Class: A class shares common behaviors and characteristics of a real world object. Such as a car class shares it's characteristics like color, engine, wheels, model and behaviors such as drive, reverse, stop etc. In programming languages a class contains it's own variables and functions. PHP is an object-oriented scripting language.