這些函式的行為受 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
Whether to report wrong return value types of user hooks as
E_WARNING
level errors. This is recommended
for detecting errors.