is_subclass_of

(PHP 4 >= 4.0b4)

is_subclass_of --  Determines if an object belongs to a subclass of the specified class

Description

bool is_subclass_of (object obj, string superclass)

This function returns TRUE if the object obj, belongs to a class which is a subclass of superclass, FALSE otherwise.

See also get_class(), get_parent_class()