mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Allow user to change SQLITE_DEFENSIVE if needed
Closes GH-8200.
This commit is contained in:
parent
8dbfb15f7c
commit
2973b9f02a
3 changed files with 7 additions and 1 deletions
3
NEWS
3
NEWS
|
@ -31,6 +31,9 @@ PHP NEWS
|
|||
- Sodium:
|
||||
. Added sodium_crypto_stream_xchacha20_xor_ic(). (Scott)
|
||||
|
||||
- SQLite3:
|
||||
. Changed sqlite3.defensive from PHP_INI_SYSTEM to PHP_INI_USER. (bohwaz)
|
||||
|
||||
- Standard:
|
||||
. net_get_interfaces() also reports wireless network interfaces on Windows.
|
||||
(Yurun)
|
||||
|
|
|
@ -158,6 +158,9 @@ PHP 8.2 UPGRADE NOTES
|
|||
- OCI8:
|
||||
. The minimum Oracle Client library version required is now 11.2.
|
||||
|
||||
- SQLite3:
|
||||
. sqlite3.defensive is now PHP_INI_USER.
|
||||
|
||||
- Standard:
|
||||
. getimagesize() now reports the actual image dimensions, bits and channels
|
||||
of AVIF images. Previously, the dimensions have been reported as 0x0, and
|
||||
|
|
|
@ -76,7 +76,7 @@ static void php_sqlite3_error(php_sqlite3_db_object *db_obj, char *format, ...)
|
|||
PHP_INI_BEGIN()
|
||||
STD_PHP_INI_ENTRY("sqlite3.extension_dir", NULL, PHP_INI_SYSTEM, OnUpdateString, extension_dir, zend_sqlite3_globals, sqlite3_globals)
|
||||
#if SQLITE_VERSION_NUMBER >= 3026000
|
||||
STD_PHP_INI_BOOLEAN("sqlite3.defensive", "1", PHP_INI_SYSTEM, OnUpdateBool, dbconfig_defensive, zend_sqlite3_globals, sqlite3_globals)
|
||||
STD_PHP_INI_BOOLEAN("sqlite3.defensive", "1", PHP_INI_USER, OnUpdateBool, dbconfig_defensive, zend_sqlite3_globals, sqlite3_globals)
|
||||
#endif
|
||||
PHP_INI_END()
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue