运行时配置

这些函数的行为受 php.ini 中的设置影响。

uopz 配置选项
名字 默认 可修改范围 更新日志
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.
有关 PHP_INI_* 样式的更多详情与定义,见 配置可被设定范围

这是配置指令的简短说明。

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).