diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-21 17:20:28 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-21 17:22:02 +0200 |
commit | 8ff2f2f84b2c0ea33b38f7e98aaa710ce4f3fc91 (patch) | |
tree | e92deebd212e1134cfe3d3ad616419d1f26c99a7 /UPGRADING | |
parent | fb4554e431e4f4063917c1a80ad2e929e6768d0b (diff) | |
download | php-git-8ff2f2f84b2c0ea33b38f7e98aaa710ce4f3fc91.tar.gz |
Return empty array for no rows in pg_fetch_all()
This makes it line up with pg_fetch_all_columns(), as well as
similar functions in other exts, such as mysqli_fetch_all().
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -431,6 +431,8 @@ PHP 8.0 UPGRADE NOTES . The deprecated pg_lo_import() and pg_lo_export() signature that passes the connection as the last argument is no longer supported. The connection should be passed as first argument instead. + . pg_fetch_all() will now return an empty array instead of false for result + sets with zero rows. - Phar: . Metadata associated with a phar will no longer be automatically unserialized, |