PHP.nl

runkit7_constant_redefine

runkit7_constant_redefine

Redefine an already defined constant

bool **runkit7_constant_redefine** string $constant_name mixed $value int $new_visibility

constant_name Constant to redefine. Either the name of a global constant, or indicating class constant. classname::constname

valueValue to assign to the constant.

new_visibility The new visibility of the constant, for class constants. Unchanged by default. One of the constants. RUNKIT7_ACC_*

return.success

runkit7_constant_add``runkit7_constant_remove