class_parents()
function class_parents(mixed $object_or_class, bool $autoload = true): mixed
Returns the parent classes of the given class.
Parameters:
$object_or_class(mixed)$autoload(bool), defaulttrue, optional
Returns: mixed
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how class_parents is implemented in the compiler, see the internals page.