Skip to content

Commit d60e168

Browse files
committed
pcre_quote? No such thing. How did this ever pass?
1 parent ea75b1b commit d60e168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $db = MySQLPDOTest::factory();
1818
ob_end_clean();
1919

2020
/* PDO Driver for MySQL, client library version => 6.0.3-alpha */
21-
$reg = 'Client API version.*' . pcre_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/');
21+
$reg = 'Client API version.*' . preg_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/');
2222

2323
if (!preg_match("/$reg/", $tmp)) {
2424
printf("[001] Cannot find MySQL PDO driver line in phpinfo() output\n");

0 commit comments

Comments
 (0)