uopz_redefine(3) php man page | unix.com

Man Page: uopz_redefine

Operating Environment: php

Section: 3

UOPZ_REDEFINE(3)							 1							  UOPZ_REDEFINE(3)

uopz_redefine - Redefine a constant

SYNOPSIS
void uopz_redefine (string $class, string $constant, mixed $value)
DESCRIPTION
void uopz_redefine (string $constant, mixed $value) Redefines the given $constant as $value
PARAMETERS
o $class - The name of the class containing the constant o $constant - The name of the constant o $value - The new value for the constant, must be a valid type for a constant variable
RETURN VALUES
EXAMPLES
Example #1 uopz_redefine(3) example <?php define("MY", 100); uopz_redefine("MY", 1000); echo MY; ?> The above example will output something similar to: 1000 PHP Documentation Group UOPZ_REDEFINE(3)
Related Man Pages
errno(3pm) - mojave
mlib_imageconstand_inp(3mlib) - sunos
apc_define_constants(3) - php
bcompiler_write_constant(3) - php
parsekit_compile_string(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!