From 7eec281b5ea82663bfe9ee47bcc8a4d0b9c212e8 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 24 Jul 2020 11:43:27 +0200 Subject: Avoid UNKNOWN default in PDO::query() --- UPGRADING | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'UPGRADING') diff --git a/UPGRADING b/UPGRADING index bf4584bb8e..a98aeab045 100644 --- a/UPGRADING +++ b/UPGRADING @@ -350,9 +350,11 @@ PHP 8.0 UPGRADE NOTES "exceptions". See https://www.php.net/manual/en/pdo.error-handling.php for details of behavior changes and how to explicitly set this attribute. RFC: https://wiki.php.net/rfc/pdo_default_errmode - . The method PDOStatement::setFetchMode() now accepts the following signature: + . The signatures of some PDO methods have changed: - PDOStatement::setFetchMode($mode, $classname, $params) + PDO::query( + string $statement, ?int $fetch_mode = null, ...$fetch_mode_args) + PDOStatement::setFetchMode(int $mode, ...$params) - PDO_ODBC: . The php.ini directive pdo_odbc.db2_instance_name has been removed -- cgit v1.2.1