diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-24 11:43:27 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-24 11:44:47 +0200 |
commit | 7eec281b5ea82663bfe9ee47bcc8a4d0b9c212e8 (patch) | |
tree | 7afef51154b360f47dd0ca70ace1bd89ed5c1b0d /UPGRADING | |
parent | 70a3a909cd47c3ba6168b4e6f7f0f9b84422fa3e (diff) | |
download | php-git-7eec281b5ea82663bfe9ee47bcc8a4d0b9c212e8.tar.gz |
Avoid UNKNOWN default in PDO::query()
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |