class_parents

PHP 5, PHP 7, PHP 8
class_parents - Return the parent classes of the given class
Manual
Code Examples

Example #1 class_parents example

Result: Array ( [foo] => foo ) Array ( [foo] => foo ) Array ( [parent_of_not_loaded] => parent_of_not_loaded )
PHP Version:


Function class_parents:

Standard PHP Library (SPL) Functions

Most used PHP functions