get_object_vars Gets the properties of the given object &reftitle.description; arrayget_object_vars objectobject Gets the accessible non-static properties of the given object according to scope. &reftitle.parameters; object An object instance. &reftitle.returnvalues; Returns an associative array of defined object accessible non-static properties for the specified object in scope. If a property have not been assigned a value, it will be returned with a &null; value. &reftitle.changelog; &Version; &Description; 5.3.0 This function now returns NULL if the object isn't an object. prior to 5.3.0 If the object isn't an object, then get_object_vars would return &false; prior to 4.2.0 If the variables declared in the class of which the object is an instance, have not been assigned a value, those will not be returned in the array &reftitle.examples; Use of <function>get_object_vars</function> test(); ?> ]]> &example.outputs; int(1) ["c"]=> NULL } array(4) { ["a"]=> NULL ["b"]=> int(1) ["c"]=> NULL ["d"]=> NULL } ]]> &reftitle.seealso; get_class_methods get_class_vars