Menu
Riverview Church

INTERFACE_EXISTS

Checks if the interface has been defined

SYNTAX

interface_exists ( string $interface_name [, bool $autoload = TRUE ] ) : bool

PARAMETERS

interface_name

The interface name

autoload

Whether to call __autoload or not by default.

RETURN

Returns TRUE if the interface given by interface_name has been defined, FALSE otherwise.

EXAMPLES

INTERFACE_NAME

true

AUTOLOAD

true

1

myclass::__construct

PHP