summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-12-21 15:31:15 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-12-21 15:32:32 +0100
commit737195c3ae6ac53b9501cfc39cc80fd462909c82 (patch)
tree1fe2b2c88153359d9cb4ffcedf72e0a6f304e688 /UPGRADING
parent5a3c1f61d41af678c70a86de3f44126ae5710c8e (diff)
downloadphp-git-737195c3ae6ac53b9501cfc39cc80fd462909c82.tar.gz
PDO: Honor ATTR_STRINGIFY_FETCHES for booleans
Of the important PDO drivers, this affects only PDO PgSQL, as both MySQL and SQLite do not return native boolean types.
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING4
1 files changed, 4 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index c659515f51..222b30b3e9 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -35,6 +35,10 @@ PHP 8.1 UPGRADE NOTES
. The mysqlnd.fetch_copy_data ini setting has been removed. However, this
should not result in user-visible behavior changes.
+- PDO:
+ . PDO::ATTR_STRINGIFY_FETCHES now also stringifies values of type bool to
+ "0" or "1". Previously booleans were not stringified.
+
- PDO MySQL:
. Integers and floats in result sets will now be returned using native PHP
types instead of strings when using emulated prepared statements. This