get_class

(PHP 4 >= 4.0.0)

get_class -- Returns the name of the class of an object

Description

string get_class (object obj)

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

Note: get_class() returns the class name in lowercase form.

See also get_parent_class(), is_subclass_of()