diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-23 10:57:19 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-23 11:25:31 +0100 |
commit | 438b025a28cda2935613af412fc13702883dd3a2 (patch) | |
tree | a826f7d6dae1c50889dff1cbc9ed905666a78ef2 /UPGRADING | |
parent | 012439b78e5dbb41ae90fbdf09ab1d8da50bb9fc (diff) | |
download | php-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-- | UPGRADING | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |