get_class()
get_class - Returns the name of the class of an object
Syntax
string get_class (
object $object)
Arguments
- object - The tested object
Description
Gets the name of the class of the given object.
Version
PHP 4, 5
Return value
Returns the name of the class of which object is an instance. Returns FALSE if object is not an object.