mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
pcre_quote? No such thing. How did this ever pass?
This commit is contained in:
parent
ea75b1b5db
commit
d60e168a7a
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user