这些函数的行为受 php.ini 中的设置影响。
名字 | 默认 | 可修改范围 | 更新日志 |
---|---|---|---|
mysqlnd_uh.enable | 1 | PHP_INI_SYSTEM | |
mysqlnd_uh.report_wrong_types | 1 | PHP_INI_ALL |
这是配置指令的简短说明。
mysqlnd_uh.enable
integer
Enables or disables the plugin. If set to disabled, the extension will not allow users to plug into mysqlnd to hook mysqlnd calls.
mysqlnd_uh.report_wrong_types
integer
Wheter to report wrong return value types of user hooks as error of the type E_WARNING. It is strongly recommended to use this setting for detecting possible issues.