diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-21 15:31:15 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-21 15:32:32 +0100 |
commit | 737195c3ae6ac53b9501cfc39cc80fd462909c82 (patch) | |
tree | 1fe2b2c88153359d9cb4ffcedf72e0a6f304e688 /UPGRADING | |
parent | 5a3c1f61d41af678c70a86de3f44126ae5710c8e (diff) | |
download | php-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-- | UPGRADING | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |