defined Checks whether a given named constant exists Description booldefined stringname Returns &true; if the named constant given by name has been defined, &false; otherwise. Checking Constants ]]> See also define, constant, get_defined_constants and the section on Constants.