constantReturns the value of a constant
&reftitle.description;
mixedconstantstringname
Return the value of the constant indicated by
name.
constant is useful if you need to retrieve
the value of a constant, but do not know its name. I.e. it is
stored in a variable or returned by a function.
This function works also with class constants.
&reftitle.parameters;
name
The constant name.
&reftitle.returnvalues;
Returns the value of the constant, or &null; if the constant is not
defined.
&reftitle.errors;
An E_WARNING level error is generated if the
constant is not defined.
&reftitle.examples;
constant example
]]>
&reftitle.seealso;
definedefinedThe section on Constants