We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea75b1b commit d60e168Copy full SHA for d60e168
ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt
@@ -18,7 +18,7 @@ $db = MySQLPDOTest::factory();
18
ob_end_clean();
19
20
/* PDO Driver for MySQL, client library version => 6.0.3-alpha */
21
- $reg = 'Client API version.*' . pcre_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/');
+ $reg = 'Client API version.*' . preg_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/');
22
23
if (!preg_match("/$reg/", $tmp)) {
24
printf("[001] Cannot find MySQL PDO driver line in phpinfo() output\n");
0 commit comments