February 2013
Intermediate to advanced
538 pages
20h 55m
English
define
bool define(stringname, mixedvalue[, intcase_insensitive])
Defines a constant named name and
sets its value to value. If
case_insensitive is set and is true, the operation fails if a constant with
the same name, compared case insensitively, is previously defined.
Otherwise, the check for existing constants is done case sensitively.
Returns true if the constant could
be created, or false if a constant
with the given name already exists.
Read now
Unlock full access