Bug #80754 [NEW]: PDO :: quote should return false, but throws an PDOException instead
| From: | menschov dot evgeny at yandex dot ru | Date: | Tue, 16 Feb 2021 07:48:47 +0000 |
| Subject: | Bug #80754 [NEW]: PDO :: quote should return false, but throws an PDOException instead | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-232176@lists.php.net to get a copy of this message | ||
From: menschov dot evgeny at yandex dot ru
Operating system: Debian GNU/Linux 10 (buster)
PHP version: 8.0.2
Package: PDO ODBC
Bug Type: Bug
Bug description:PDO :: quote should return false, but throws an PDOException instead
Description:
------------
I brought up php 8.0.2 in docker, using pdo odbc drivers to connect to
database. In php 7.4, PDO::quote returned false, in 8.0.2 it started
throwing an exception, which breaks backward compatibility. I attach a
screenshot of the problem
https://monosnap.com/file/3X2hncrAbPLQ9FFNNbP4usbCcXCdG2
--
Edit bug report at https://bugs.php.net/bug.php?id=80754&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80754&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80754&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80754&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80754&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80754&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80754&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80754&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80754&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80754&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80754&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80754&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80754&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80754&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80754&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80754&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80754&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80754&r=mysqlcfg