Objects in php

February 17, 2013
Posted by admin 2:59 PM

Object is an concrete entity constructed using the blueprint provided by class. The class specifies the behaviors and characteristic of object but it does not specify the value of those characteristics. With a single class we can make several instances of the same class .In OOP we can make object from class by instantiation. For creating a new object we use the word new to instantiate a class.

Read more

Classes in php

February 17, 2013
Posted by admin 2:49 PM

A class is a unit of code which contains variables and functions that describes the behavior and characteristic of all the members of a set. Normally it just a piece of code in our code that consist of methods and properties which describe the class behaviors and its characteristics

Read more