mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
pcre_quote? No such thing. How did this ever pass?
This commit is contained in:
parent
ea75b1b5db
commit
d60e168a7a
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ $db = MySQLPDOTest::factory();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|
||||||
/* PDO Driver for MySQL, client library version => 6.0.3-alpha */
|
/* 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)) {
|
if (!preg_match("/$reg/", $tmp)) {
|
||||||
printf("[001] Cannot find MySQL PDO driver line in phpinfo() output\n");
|
printf("[001] Cannot find MySQL PDO driver line in phpinfo() output\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue