com php-src: pcre_quote? No such thing. How did this ever pass?: ext/pdo_mysql/tests/pdo_mysql _phpinfo.phpt

From: Date: Fri, 02 Aug 2013 20:12:21 +0000
Subject: com php-src: pcre_quote? No such thing. How did this ever pass?: ext/pdo_mysql/tests/pdo_mysql _phpinfo.phpt
Groups: php.cvs 
Request: Send a blank email to [email protected] to get a copy of this message
Commit:    d60e168a7a73b1bd311754943856c1598d1cd9dc
Author:    Rasmus Lerdorf <[email protected]>         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");



Thread (1 message)

  • Rasmus Lerdorf
« previous php.cvs (#72816) next »