Commit:    d60e168a7a73b1bd311754943856c1598d1cd9dc
Author:    Rasmus Lerdorf <ras...@php.net>         Fri, 2 Aug 2013 16:12:21 
-0400
Parents:   ea75b1b5dbb34a8c07f53487e08a3521fc491a84
Branches:  PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=d60e168a7a73b1bd311754943856c1598d1cd9dc

Log:
pcre_quote? No such thing. How did this ever pass?

Changed paths:
  M  ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt


Diff:
diff --git a/ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt 
b/ext/pdo_mysql/tests/pdo_mysql_phpinfo.phpt
index 9674e85..74b4a73 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");


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to