summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-12-23 10:57:19 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-12-23 11:25:31 +0100
commit438b025a28cda2935613af412fc13702883dd3a2 (patch)
treea826f7d6dae1c50889dff1cbc9ed905666a78ef2 /UPGRADING
parent012439b78e5dbb41ae90fbdf09ab1d8da50bb9fc (diff)
downloadphp-git-438b025a28cda2935613af412fc13702883dd3a2.tar.gz
Support native types in PDO SQLite
Return integers and floats as native types if possible. As usual, the old behavior can be restored by enabling ATTR_STRINGIFY_FETCHES. Fixes bug #38334.
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING5
1 files changed, 5 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 9b80b702a3..953082a7a0 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -53,6 +53,11 @@ PHP 8.1 UPGRADE NOTES
matches the behavior of native prepared statements. You can restore the
previous behavior by enabling the PDO::ATTR_STRINGIFY_FETCHES option.
+- PDO SQLite:
+ . Integers and floats in results sets will now be returned using native PHP
+ types. You can restore the previous behavior by enabling the
+ PDO::ATTR_STRINGFIY_FETCHES option.
+
- Standard:
. version_compare() no longer accepts undocumented operator abbreviations.