com php-src: Fixed test sapi/cli/tests/006.phpt: sapi/cli/tests/006.phpt
| From: | Anatoliy Belsky | Date: | Wed, 14 Nov 2012 15:20:59 +0000 |
| Subject: | com php-src: Fixed test sapi/cli/tests/006.phpt: sapi/cli/tests/006.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70545@lists.php.net to get a copy of this message | ||
Commit: 3d82f16c7de1bf89d0e618f113e361fe13abe697
Author: Anatoliy Belsky <ab@php.net> Wed, 14 Nov 2012 16:20:59 +0100
Parents: f99befadbd7f9896558ec2c3640c8e028ac09b1f
Branches: PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3d82f16c7de1bf89d0e618f113e361fe13abe697
Log:
Fixed test sapi/cli/tests/006.phpt
Third param in preg_match_all() is optional for a while )
Changed paths:
M sapi/cli/tests/006.phpt
Diff:
diff --git a/sapi/cli/tests/006.phpt b/sapi/cli/tests/006.phpt
index 3f3f3c1..3d5c916 100644
--- a/sapi/cli/tests/006.phpt
+++ b/sapi/cli/tests/006.phpt
@@ -69,7 +69,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version
<no_version> ] {
- Parameters [5] {
Parameter #0 [ <required> $pattern ]
Parameter #1 [ <required> $subject ]
- Parameter #2 [ <required> &$subpatterns ]
+ Parameter #2 [ <optional> &$subpatterns ]
Parameter #3 [ <optional> $flags ]
Parameter #4 [ <optional> $offset ]
}