DEFINED
Checks whether a given named constant exists
SYNTAX
defined ( string $name ) : bool
PARAMETERS
name
The constant name.
RETURN
Returns TRUE if the named constant given by name has been defined, FALSE otherwise.
EXAMPLES
1
true
2
false