Name

class_exists

Synopsis

bool class_exists(string name)

Returns true if a class with the same name as the string has been defined; if not, it returns false. The comparison for class names is case-insensitive.

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