Поведение этих функций зависит от установок в php.ini.
The following table lists the configuration options available in the SQLSRV extension. For more information about these options, see » Handling SQLSRV Warnings and Errors.
Имя | По умолчанию | Меняемо | Changelog |
---|---|---|---|
sqlsrv.WarningsReturnAsErrors | 1 (TRUE ) |
PHP_INI_ALL | Available since SQLSRV 1.0 |
sqlsrv.LogSubsystems | 0 | PHP_INI_ALL | Available since SQLSRV 1.0 |
sqlsrv.LogSeverity | 1 | PHP_INI_ALL | Available since SQLSRV 1.0 |