Method | Description | |
---|---|---|
constant ( |
Retrieves a value of a constant.
|
|
define ( |
Defines a constant.
|
|
defined ( |
Determines whether a constant is defined.
|
|
get_defined_constants ( |
Retrieves defined constants.
|
public static constant ( |
||
ctx | Current runtime context. | |
name | string | The name of the constant. |
return |
public static define ( |
||
ctx | Current runtime context. | |
name | string | The name of the constant. Can be arbitrary string. |
value | The value of the constant. Can be null or a scalar or array. | |
caseInsensitive | bool | Whether the name is case insensitive. |
return | bool |
public static defined ( |
||
ctx | Current runtime context. | |
name | string | The name of the constant. |
return | bool |
public static get_defined_constants ( |
||
ctx | Current runtime context. | |
categorize | bool | Returns a multi-dimensional array with categories in the keys of the first dimension and constants and their values in the second dimension. |
return |