(PHP 5)
This function returns an array with the name of the parent classes of the given class.
Príklad 1. class_parents() example
<?phpclass foo { }class bar extends foo {}print_r(class_parents(new bar));?>
V�stup pr�kladu uveden�ho vy�ie bude:
Array ( [foo] => foo )