|
class_parentsReturn the parent classes of the given class Beschreibung
array class_parents
( mixed
$class
[, bool $autoload = true
] )
This function returns an array with the name of the parent classes of
the given Parameter-Liste
Rückgabewerte
An array on success, or Changelog
Beispiele
Beispiel #1 class_parents example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
Array
(
[foo] => foo
)
Array
(
[parent_of_not_loaded] => parent_of_not_loaded
)
Siehe auch
|