這些函數(shù)的行為受 php.ini 中的設(shè)置影響。
名字 | 默認(rèn) | 可修改范圍 | 更新日志 |
---|---|---|---|
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
).