manual for object | search for "object"
Manual © 2001-2008 The PHP Group
Objects
Object Initialization
To initialize an object, you use the new statement to instantiate the object to a variable.
For a full discussion, please read the section Classes and Objects.
Converting to object
If an object is converted to an object, it is not modified. If a value of any other type is converted to an object, a new instance of the stdClass built in class is created. If the value was null, the new instance will be empty. For any other value, a member variable named scalar will contain the value.
© 2008 phparadise | go to the top | search phparadise | generated in 0.031 seconds
58 hits by 14 users in the last 30 minutes.