An object is an instance of a class. It has its own behavior and identity.

Example

                                        

//Create an object of MyClass
$object = new MyCustomClass();
OR
$object = new MyCustomClass;

Suggest An Answer

No suggestions Available!