get_parent_class

(PHP4 >= 4.0b2)

get_parent_class -- Returns the name of the parent class of an object

Description

string get_parent_class (object obj)

This function returns the name of the parent class to the class of which the object obj is an instance.

See also get_class(), is_subclass_of()