defined

(PHP3 , PHP4 )

defined --  Checks whether a given named constant exists

Description

int defined (string name)

Returns true if the named constant given by name has been defined, false otherwise.

See also define() and the section on Constants.


Hosted by Tonec Inc.