class_parents in PHP

Syntax of class_parents array class_parents(mixed class[, bool autoload_class]) If class is an object, returns an array containing the names of the parents of class’s object class. If class is a string, returns an array containing the class names of the parents of the class named class. Returns false if class is neither an object nor … Read more