get_object_vars -- Returns an associative array of object properties
Description
array get_object_vars ( object obj )
This function returns an associative array of defined object properties
for the specified object obj.
Note:
In versions prior to PHP 4.2.0, if the variables declared in the class
of which the obj is an instance, have not been
assigned a value, those will not be returned in the array. In versions
after PHP 4.2.0, the key will be assigned with a NULL value.