PHP-manual | ||
---|---|---|
Föregående | Nästa |
This function returns an associative array of defined object properties for the specified object obj.
Not: 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.
Array ( [x] => 1.233 [y] => 3.445 [label] => ) Array ( [x] => 1.233 [y] => 3.445 [label] => point #1 ) |
See also get_class_methods() and get_class_vars()!
Föregående | Hem | Nästa |
get_declared_classes | Upp | get_parent_class |