From: Rasmus Lerdorf Date: Fri, 2 Aug 2013 20:12:21 +0000 (-0400) Subject: pcre_quote? No such thing. How did this ever pass? X-Git-Tag: php-5.6.0alpha1~351^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d60e168;p=php pcre_quote? No such thing. How did this ever pass? --- diff --git a/ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt b/ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt index 9674e85f5e..74b4a73584 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt @@ -18,7 +18,7 @@ $db = MySQLPDOTest::factory(); ob_end_clean(); /* PDO Driver for MySQL, client library version => 6.0.3-alpha */ - $reg = 'Client API version.*' . pcre_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/'); + $reg = 'Client API version.*' . preg_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/'); if (!preg_match("/$reg/", $tmp)) { printf("[001] Cannot find MySQL PDO driver line in phpinfo() output\n");