runkit_constant_redefine

(PECL runkit >= 0.7.0)
Redefine an already defined constant
bool runkit_constant_redefine ( string $constname, mixed $newvalue )
Parameters:
constname

Constant to redefine. Either string indicating global constant, or classname::constname indicating class constant.

newvalue

New value to assign to constant.

Returns:

Returns TRUE on success or FALSE on failure.

See also:

runkit_constant_add() -

runkit_constant_remove() -

doc_php
2016-02-24 15:54:06
Comments
Leave a Comment

Please login to continue.