Skip to content

Fix: PHP 8.5 PDO MySQL Constant Deprecations (Backward Compatible)#184

Merged
techmahedy merged 1 commit intodoppar:3.xfrom
techmahedy:techmahedy-3.x
Feb 11, 2026
Merged

Fix: PHP 8.5 PDO MySQL Constant Deprecations (Backward Compatible)#184
techmahedy merged 1 commit intodoppar:3.xfrom
techmahedy:techmahedy-3.x

Conversation

@techmahedy
Copy link
Member

This PR updates the MySQLDriver to support PHP 8.5, where MySQL-specific PDO constants have been moved
from:

PDO::MYSQL_ATTR_*

to:

Pdo\Mysql::ATTR_*

The legacy PDO::MYSQL_* constants are deprecated in PHP 8.5 and trigger fatal errors when deprecations are converted to exceptions.

@techmahedy techmahedy added the bug Something isn't working label Feb 11, 2026
@techmahedy techmahedy merged commit bcb56c1 into doppar:3.x Feb 11, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant