We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3917e7 commit db90247Copy full SHA for db90247
1 file changed
src/Adapter/Mysql.php
@@ -24,7 +24,7 @@ public function getOptions(Config $config)
24
$options = parent::getOptions($config);
25
// In PHP 8.5+, driver-specific constants of the PDO class are deprecated,
26
// but the replacements are only available since php 8.4
27
- if (version_compare(PHP_VERSION, '8.5.0', '<')) {
+ if (version_compare(PHP_VERSION, '8.4.0', '<')) {
28
$mysqlConstantPrefix = 'PDO::MYSQL_ATTR_';
29
} else {
30
$mysqlConstantPrefix = 'Pdo\Mysql::ATTR_';
0 commit comments