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.

Get Programming PHP, 2nd 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.