(PHP 5)
This function returns an array with the name of the parent classes of the given class.
Esempio 1. class_parents() example
<?phpclass foo { }class bar extends foo {}print_r(class_parents(new bar));?>
The above example will output:
Array ( [foo] => foo )
Hosting by: hurra.comGenerated: 2007-01-26 17:56:22