Skip to content

v2.15.3: PHP 8.5 support

Choose a tag to compare

@mevdschee mevdschee released this 13 Jun 00:21
· 42 commits to main since this release

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.