(PHP 3, PHP 4 >= 4.0.0)
defined -- Checks whether a given named constant existsReturns TRUE if the named constant given by name has been defined, FALSE otherwise.
Example 1. Checking Constants
|
See also define(), constant(), get_defined_constants() and the section on Constants.