Настройка во время выполнения

Поведение этих функций зависит от установок в php.ini.

Mysqlnd_uh Опции настройки
Имя По умолчанию Место изменения Список изменений
mysqlnd_uh.enable 1 PHP_INI_SYSTEM
mysqlnd_uh.report_wrong_types 1 PHP_INI_ALL

Краткое разъяснение конфигурационных директив.

mysqlnd_uh.enable int

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 int

Whether to report wrong return value types of user hooks as E_WARNING level errors. This is recommended for detecting errors.