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) - osx
__builtin_constant_p(3) - netbsd
bcompiler_write_constant(3) - php
defined(3) - php
php_uname(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
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!