这些函数的行为受 php.ini 中的设置影响。
名字 | 默认 | 可修改范围 | 更新日志 |
---|---|---|---|
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. |
这是配置指令的简短说明。
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().
注意: When running with OPcache enabled, it may be necessary to disable all OPcache optimizations (
opcache.optimization_level=0
).