Menu Riverview Church

CLASS_EXISTS

Checks if the class has been defined

SYNTAX

class_exists ( string $class_name [, bool $autoload = TRUE ] ) : bool

PARAMETERS

class_name

The class name. The name is matched in a case-insensitive manner.

autoload

Whether or not to call __autoload by default.

RETURN

Returns TRUE if class_name is a defined class, FALSE otherwise.

EXAMPLES

CLASS_NAME

true

AUTOLOAD

true

1

myclass::__set_state(array(
))

PHP