這些函數(shù)的行為受 php.ini 中的設(shè)置影響。
The following table lists the configuration options available in the SQLSRV extension. For more information about these options, see ? Handling SQLSRV Warnings and Errors.
名字 | 默認(rèn) | 可修改范圍 | 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 |