summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2018-11-29 15:10:39 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2018-11-29 15:10:39 +0100
commita757ebb5b58db9e15b71ed50c6ba9e2a5111508c (patch)
tree21928175b0254e55a478e85955a90d570e9066fa /UPGRADING
parent1674db8c40f363a5fe0ef2ca5dd1bcebbd6cdfa0 (diff)
downloadphp-git-a757ebb5b58db9e15b71ed50c6ba9e2a5111508c.tar.gz
Require SQLite ≥ 3.7.4 for ext/sqlite3
`SQLite3::readOnly()` uses `sqlite3_stmt_readonly()` which is only available as of libsqlite 3.7.4. For older SQLite3 versions we return always `false`, which can be confusing. Instead of sticking with this behavior, or even undefining the method for old SQLite3 versions, we lift the requirements to SQLite 3.7.4 (released on 2010-12-08), according to a respective discussion[1]. Since pdo_sqlite doesn't use `sqlite3_stmt_readonly()`, we stick with the minimum requirement of SQLite 3.5.0. [1] <https://github.com/php/php-src/pull/3614>
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING5
1 files changed, 3 insertions, 2 deletions
diff --git a/UPGRADING b/UPGRADING
index 9016b4a1d3..dc081a6b6c 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -135,8 +135,9 @@ PHP 7.4 UPGRADE NOTES
Use corresponding constants instead (e.g. ReflectionMethod::IS_PUBLIC).
- SQLite3:
- . The bundled libsqlite has been removed. To build the SQLite3 and/or
- PDO_SQLite extensions a system libsqlite3 ≥ 3.5.0 is now required.
+ . The bundled libsqlite has been removed. To build the SQLite3 extension
+ a system libsqlite3 ≥ 3.7.4 is now required. To build the PDO_SQLite
+ extension a system libsqlite3 ≥ 3.5.0 is now required.
. (Un)serialization of SQLite3, SQLite3Stmt and SQLite3Result is now explictly
forbidden. Formerly, serialization of instances of these classes was
possible, but unserialization yielded unusable objects.