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
__builtin_constant_p(3) - netbsd
errno5.18(3pm) - mojave
apc_define_constants(3) - php
parsekit_compile_string(3) - php
php_uname(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!