diff options
Diffstat (limited to 'ext/pcre/tests/preg_match_all_edit_basic.phpt')
-rw-r--r-- | ext/pcre/tests/preg_match_all_edit_basic.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/pcre/tests/preg_match_all_edit_basic.phpt b/ext/pcre/tests/preg_match_all_edit_basic.phpt index 9edcf73596..5731814398 100644 --- a/ext/pcre/tests/preg_match_all_edit_basic.phpt +++ b/ext/pcre/tests/preg_match_all_edit_basic.phpt @@ -1,11 +1,11 @@ --TEST-- -Test preg_match_all() function : basic functionality +Test preg_match_all() function : basic functionality --FILE-- <?php /* Prototype : proto int preg_match_all(string pattern, string subject, array subpatterns [, int flags [, int offset]]) - * Description: Perform a Perl-style global regular expression match + * Description: Perform a Perl-style global regular expression match * Source code: ext/pcre/php_pcre.c - * Alias to functions: + * Alias to functions: */ $string = 'Hello, world! This is a test. This is another test. \[4]. 34534 string.'; @@ -22,7 +22,7 @@ var_dump($match3); var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the end of a string (0 matches) var_dump($match4); -var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "This is aThis is a [...] test" (0 matches) +var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "This is aThis is a [...] test" (0 matches) var_dump($match5); ?> --EXPECTF-- |