PHP 5.3.3 allows us to declare “Constructors” and “Destructors” in a new way. Before this, method with the same name with-in a class treated as “Constructor”. But now we declare constructor as :
// Generally used for initializing the variables
And we declare destructor as :
//Generally used to release memory or make free the resources
“Constructor” called on each newly created object and “Destructor” called when the object is explicitly destroyed or in any order in shutdown sequence.