Méthode | 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. |
Résultat |
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. |
Résultat | bool |
public static defined ( |
||
ctx | Current runtime context. | |
name | string | The name of the constant. |
Résultat | 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. |
Résultat |