Home
last modified time | relevance | path

Searched refs:preg_match_all (Results 1 – 25 of 37) sorted by last modified time

12

/PHP-5.5/scripts/dev/
H A Dcheck_parameters.php116preg_match_all('/((?:(?:unsigned|struct)\s+)?\w+)(?:\s*(\*+)\s+|\s+(\**))(\w+(?:\[\s*\w*\s*\])?)\s…
125 preg_match_all('/(\**)\s*(\w+(?:\[\s*\w*\s*\])?)\s*(=?)/S', $x[6], $y, PREG_SET_ORDER);
169preg_match_all('/(?:\([^)]+\))?(&?)([\w>.()-]+(?:\[\w+\])?)\s*,?((?:\)*\s*=)?)/S', $str, $m, PREG_…
203 …if (preg_match_all('/zend_parse_parameters(?:_ex\s*\([^,]+,[^,]+|\s*\([^,]+),\s*"([^"]*)"\s*,\s*([…
/PHP-5.5/sapi/cli/tests/
H A D006.phpt67 Function [ <internal:pcre> function preg_match_all ] {
/PHP-5.5/ext/spl/tests/
H A Diterator_052.phpt28 @preg_match_all($this->re, (string)($this->uk ? $this->key() : $this->current()), $sub);
H A Diterator_053.phpt28 @preg_match_all($this->re, (string)($this->uk ? $this->key() : $this->current()), $sub);
/PHP-5.5/ext/spl/internal/
H A Drecursiveregexiterator.inc32 * preg_match_all(), preg_split()
H A Dregexiterator.inc35 private $preg_flags;/**< PREG_* flags, see preg_match(), preg_match_all(),
50 * preg_match_all(), preg_split()
86 return preg_match_all($this->regex, $subject, $this->current, $this->preg_flags) > 0;
/PHP-5.5/ext/pcre/
H A Dphp_pcre.c836 static PHP_FUNCTION(preg_match_all) in PHP_FUNCTION() argument
1963 PHP_FE(preg_match_all, arginfo_preg_match_all)
/PHP-5.5/ext/pcre/tests/
H A D002.phpt7 var_dump(preg_match_all());
8 var_dump(preg_match_all('//', '', $dummy, 0xdead));
23 Warning: preg_match_all() expects at least 2 parameters, 0 given in %s002.php on line 4
26 Warning: preg_match_all(): Invalid flags specified in %s002.php on line 5
H A D004.phpt6 var_dump(preg_match_all('/((?:(?:unsigned|struct)\s+)?\w+)(?:\s*(\*+)\s+|\s+(\**))(\w+(?:\[\s*\w*\s…
9 var_dump(preg_match_all('/(?:\([^)]+\))?(&?)([\w>.()-]+(?:\[\w+\])?)\s*,?((?:\)*\s*=)?)/S', '&a, b,…
12 var_dump(preg_match_all('/zend_parse_parameters(?:_ex\s*\([^,]+,[^,]+|\s*\([^,]+),\s*"([^"]*)"\s*,\…
H A Dbacktrack_limit.phpt5 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
14 var_dump(preg_match_all('/.*\p{N}/', '0123456789', $dummy));
17 var_dump(preg_match_all('/\p{Nd}/', '0123456789', $dummy));
H A Dbug27103.phpt19 preg_match_all('/./u', $teststr, $matches);
H A Dbug40909.phpt12 if ($result =preg_match_all($pattern, $context, $match))
H A Ddollar_endonly.phpt6 var_dump(preg_match_all('/^\S+.+$/', "aeiou\n", $m));
9 var_dump(preg_match_all('/^\S+.+$/D', "aeiou\n", $m));
12 var_dump(preg_match_all('/^\S+\s$/D', "aeiou\n", $m));
H A Dmatch_flags3.phpt14 var_dump(preg_match_all('/\d+/', '123 456 789 012', $match, 0, -8));
H A Dpcre_anchored.phpt5 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
H A Dpreg_match_all_edit_basic.phpt2 Test preg_match_all() function : basic functionality
5 /* Prototype : proto int preg_match_all(string pattern, string subject, array subpatterns [, int f…
13 var_dump(preg_match_all('/[0-35-9]/', $string, $match1, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10…
16 var_dump(preg_match_all('/[tT]his is a(.*?)\./', $string, $match2, PREG_SET_ORDER)); //fin…
19 var_dump(preg_match_all('@\. \\\(.*).@', $string, $match3, PREG_PATTERN_ORDER)); //f…
22 var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the en…
25 var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "T…
H A Dbug52971.phpt11 preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE);
15 preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE);
H A Dbug63055.phpt19 preg_match_all("/(\d)+/", "foo123456bar", $matches);
H A Dpreg_match_all_basic.phpt2 Test preg_match_all() function : basic functionality
6 * proto int preg_match_all(string pattern, string subject, [array subpatterns [, int flags [, int o…
10 var_dump(preg_match_all('/[0-35-9]/', $string, $match1, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10…
12 var_dump(preg_match_all('/[tT]his is a(.*?)\./', $string, $match2, PREG_SET_ORDER)); //finds "This …
14 var_dump(preg_match_all('@\. \\\(.*).@', $string, $match3, PREG_PATTERN_ORDER)); //finds ".\ [...]"…
16 var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the end of a st…
18 var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "This is…
22 var_dump(preg_match_all('/test/', $string));
23 var_dump(preg_match_all('/this isn\'t in the string/', $string));
24 var_dump(preg_match_all('/world/', $string));
[all …]
H A Dpreg_match_all_error.phpt2 Test preg_match_all() function : error conditions - incorrect number of parameters
9 echo "*** Testing preg_match_all() : error conditions ***\n";
11 echo "\n-- Testing preg_match_all() function with Zero arguments --\n";
12 var_dump(preg_match_all());
13 //Test preg_match_all with one more than the expected number of arguments
21 // Testing preg_match_all withone less than the expected number of arguments
24 var_dump(preg_match_all($pattern));
28 *** Testing preg_match_all() : error conditions ***
30 -- Testing preg_match_all() function with Zero arguments --
35 -- Testing preg_match_all() function with more than expected no. of arguments --
[all …]
H A Dpreg_match_all_error1.phpt2 Test preg_match_all() function : error conditions - bad regular expressions
6 * proto int preg_match_all(string pattern, string subject, array subpatterns [, int flags [, int of…
11 * Testing how preg_match_all reacts to being passed the wrong type of regex argument
13 echo "*** Testing preg_match_all() : error conditions ***\n";
23 var_dump(preg_match_all($regex_value, $subject, $matches1));
27 var_dump(preg_match_all($regex_value, $subject, $matches));
31 *** Testing preg_match_all() : error conditions ***
41 Warning: preg_match_all(): No ending delimiter '/' found in %spreg_match_all_error1.php on line %d
47 Warning: preg_match_all(): Unknown modifier '/' in %spreg_match_all_error1.php on line %d
53 Warning: preg_match_all(): Unknown modifier 'F' in %spreg_match_all_error1.php on line %d
[all …]
H A Dpreg_match_all_error2.phpt2 Test preg_match_all() function : error conditions - wrong arg types
6 * proto int preg_match_all(string pattern, string subject, array subpatterns [, int flags [, int of…
11 * Testing how preg_match_all reacts to being passed the wrong type of input argument
13 echo "*** Testing preg_match_all() : error conditions ***\n";
16 var_dump(preg_match_all($regex, $value, $matches));
21 var_dump(preg_match_all($regex, $value, $matches));
27 *** Testing preg_match_all() : error conditions ***
29 Warning: preg_match_all() expects parameter 2 to be string, object given in %spreg_match_all_error2…
35 Warning: preg_match_all() expects parameter 2 to be string, array given in %spreg_match_all_error2.…
H A Dpreg_match_all_error3.phpt2 Test preg_match_all() function : error conditions
6 * proto int preg_match_all(string pattern, string subject, array subpatterns [, int flags [, int of…
10 * Testing how preg_match_all reacts to being passed the wrong type of subpatterns array argument
12 echo "*** Testing preg_match_all() : error conditions ***\n";
15 var_dump(preg_match_all($regex, $subject, 'test'));
H A Drecursion_limit.phpt5 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
14 var_dump(preg_match_all('/\p{Ll}(\p{L}((\p{Ll}\p{Ll})))/', 'aeiou', $dummy));
17 var_dump(preg_match_all('/\p{Ll}\p{L}\p{Ll}\p{Ll}/', 'aeiou', $dummy));
/PHP-5.5/Zend/
H A Dzend_vm_gen.php455 …if ($spec && preg_match_all('/^\s*zend_free_op\s+[^;]+;\s*$/me', $code, $matches, PREG_SET_ORDER))…

Completed in 73 milliseconds

12