Runtime Configuration
The behaviour of these functions is affected by settings in php.ini.
Name | Default | Changeable | Changelog |
---|---|---|---|
uopz.disable | "0" | PHP_INI_SYSTEM | Available as of uopz 5.0.2 |
uopz.exit | "0" | PHP_INI_SYSTEM | Available as of uopz 6.0.1 |
uopz.overloads | "1" | PHP_INI_SYSTEM | Available as of uopz 2.0.2. Removed as of uopz 5.0.0. |
Here's a short explanation of the configuration directives.
-
uopz.disable
bool -
If enabled, uopz should stop having any effect on the engine.
-
uopz.exit
bool -
Whether to allow the execution of exit opcodes or not. This setting can be overridden during runtime by calling uopz_allow_exit().
-
uopz.overloads
bool -
Enables the ability to use uopz_overload().
Note: When running with OPcache enabled, it may be necessary to disable all OPcache optimizations (
opcache.optimization_level=0
).