PHP OOP Constructor.

In Php, Constructor is a method defined inside a class is called automatically at the time of creation of object.

Code :