mirror of
https://github.com/php/php-src.git
synced 2026-04-29 03:03:26 +02:00
fix mysqlnd detection
This commit is contained in:
@@ -155,7 +155,7 @@ class MySQLPDOTest extends PDOTest {
|
||||
phpinfo();
|
||||
$tmp = ob_get_contents();
|
||||
ob_end_clean();
|
||||
return (true == stristr($tmp, 'PDO Driver for MySQL, mysql native driver version'));
|
||||
return (bool)preg_match('/Client API version.*mysqlnd/', $tmp);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user