uopz_redefine

PECL uopz 1, PECL uopz 2, PECL uopz 5, PECL uopz 6, PECL uopz 7
uopz_redefine - Redefine a constant
Manual
Code Examples

uopz_redefine( string$constant, mixed$value ): bool
booluopz_redefine stringclass stringconstant mixedvalue

Parameters

class

The name of the class containing the constant

constant

The name of the constant

value

The new value for the constant, must be a valid type for a constant variable

Return Values

Returns true on success or false on failure.

Example of uopz_redefine

Show all examples for uopz_redefine

PHP Version: