|
class_parentsReturn the parent classes of the given class Description
arrayfalse class_parents(objectstring
$object_or_class, bool $autoload = true)
This function returns an array with the name of the parent classes of
the given Parameters
Return Values
An array on success, or Examples
Example #1 class_parents example The above example will output something similar to:
Array
(
[foo] => foo
)
Array
(
[foo] => foo
)
Array
(
[parent_of_not_loaded] => parent_of_not_loaded
)
Notes
|