From 438b025a28cda2935613af412fc13702883dd3a2 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 23 Dec 2020 10:57:19 +0100 Subject: 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. --- UPGRADING | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'UPGRADING') 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. -- cgit v1.2.1