Name

get_class

Synopsis

string get_class(object object)

Returns the name of the class of which the given object is an instance. The class name is returned as a lowercase string. If object is not an object, then false is returned.

Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.