summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-24 11:43:27 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-07-24 11:44:47 +0200
commit7eec281b5ea82663bfe9ee47bcc8a4d0b9c212e8 (patch)
tree7afef51154b360f47dd0ca70ace1bd89ed5c1b0d /UPGRADING
parent70a3a909cd47c3ba6168b4e6f7f0f9b84422fa3e (diff)
downloadphp-git-7eec281b5ea82663bfe9ee47bcc8a4d0b9c212e8.tar.gz
Avoid UNKNOWN default in PDO::query()
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING6
1 files changed, 4 insertions, 2 deletions
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