Repository navigation
v2.15.3: PHP 8.5 support
Fixes the PDO::MYSQL_ATTR_FOUND_ROWS deprecation on PHP 8.5.
The constant is deprecated since PHP 8.5 in favor of Pdo\Mysql::ATTR_FOUND_ROWS (available as of PHP 8.4). The notice was being written into the response body and breaking JSON output for MySQL connections. The code now uses the new constant when it exists and falls back to the old one on older PHP versions, so PHP 7.0+ stays supported.
Reported in #1070.