-
Notifications
You must be signed in to change notification settings - Fork 14
define
Chung Leong edited this page Jan 10, 2022
·
6 revisions
define — Defines a named constant
define( string $name , number $value )
define() defines a named constant at compile-time. When used in a conditional block, the conditional expression should be resolvable at compile-time as well. Otherwise the constant will always be defined when qb_compile() is called, even if the block is in fact unreachable at runtime.
name - The name of the constant.
value - The value of the constant; only scalar and null values are allowed.
true on success or false on failure.
1.0 and above.