/php-src/sapi/cli/tests/ |
H A D | 006.phpt | 79 Function [ <internal:pcre> function preg_match_all ] {
|
/php-src/ext/pcre/ |
H A D | php_pcre.c | 1496 PHP_FUNCTION(preg_match_all) in PHP_FUNCTION() argument
|
H A D | php_pcre_arginfo.h | 79 ZEND_FUNCTION(preg_match_all); 92 ZEND_FE(preg_match_all, arginfo_preg_match_all)
|
H A D | php_pcre.stub.php | 108 function preg_match_all(string $pattern, string $subject, &$matches = null, int $flags = 0, int $of… function
|
/php-src/Zend/ |
H A D | zend_vm_gen.php | 2643 …} else if (preg_match_all("/ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)/m", $dsc["code"], $mm, …
|
/php-src/ext/mbstring/tests/ |
H A D | gh8086.phpt | 24 var_dump(preg_match_all('/(?<!\r)\n/', $eml));
|
H A D | gh7902.phpt | 27 var_dump(preg_match_all('/(?<!\r)\n/', $eml));
|
/php-src/ext/pcre/tests/ |
H A D | preg_match_all_error1.phpt | 2 Test preg_match_all() function : error conditions - bad regular expressions 9 * Testing how preg_match_all reacts to being passed the wrong type of regex argument 26 var_dump(preg_match_all($regex_value, $subject, $matches1)); 34 var_dump(preg_match_all($regex_value, $subject, $matches)); 42 Warning: preg_match_all(): Delimiter must not be alphanumeric, backslash, or NUL byte in %spreg_mat… 46 Warning: preg_match_all(): No ending delimiter '/' found in %spreg_match_all_error1.php on line %d 50 Warning: preg_match_all(): Unknown modifier '/' in %spreg_match_all_error1.php on line %d 54 Warning: preg_match_all(): Unknown modifier 'F' in %spreg_match_all_error1.php on line %d 57 preg_match_all(): Argument #1 ($pattern) must be of type string, array given 73 preg_match_all(): Argument #1 ($pattern) must be of type string, stdClass given
|
H A D | 002.phpt | 7 preg_match_all('//', '', $dummy, 0xdead); 20 preg_match_all(): Argument #4 ($flags) must be a PREG_* constant
|
H A D | preg_match_all_error3.phpt | 2 Test preg_match_all() function : error conditions 9 * Testing how preg_match_all reacts to being passed the wrong type of subpatterns array argument 11 echo "*** Testing preg_match_all() : error conditions ***\n"; 14 var_dump(preg_match_all($regex, $subject, 'test')); 18 *** Testing preg_match_all() : error conditions *** 20 Fatal error: Uncaught Error: preg_match_all(): Argument #3 ($matches) could not be passed by refere…
|
H A D | preg_match_all_basic.phpt | 2 Test preg_match_all() function : basic functionality 9 var_dump(preg_match_all('/[0-35-9]/', $string, $match1, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10… 11 var_dump(preg_match_all('/[tT]his is a(.*?)\./', $string, $match2, PREG_SET_ORDER)); //finds "This … 13 var_dump(preg_match_all('@\. \\\(.*).@', $string, $match3, PREG_PATTERN_ORDER)); //finds ".\ [...]"… 15 var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the end of a st… 17 var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "This is… 21 var_dump(preg_match_all('/test/', $string)); 22 var_dump(preg_match_all('/this isn\'t in the string/', $string)); 23 var_dump(preg_match_all('/world/', $string)); 24 var_dump(preg_match_all('/[0-9]/', $string));
|
H A D | preg_match_all_edit_basic.phpt | 2 Test preg_match_all() function : basic functionality 7 var_dump(preg_match_all('/[0-35-9]/', $string, $match1, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10… 10 var_dump(preg_match_all('/[tT]his is a(.*?)\./', $string, $match2, PREG_SET_ORDER)); //fin… 13 var_dump(preg_match_all('@\. \\\(.*).@', $string, $match3, PREG_PATTERN_ORDER)); //f… 16 var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the en… 19 var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "T…
|
H A D | recursion_limit.phpt | 5 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) { 15 var_dump(preg_match_all('/\p{Ll}(\p{L}((\p{Ll}\p{Ll})))/', 'aeiou', $dummy)); 18 var_dump(preg_match_all('/\p{Ll}\p{L}\p{Ll}\p{Ll}/', 'aeiou', $dummy));
|
H A D | request47456.phpt | 8 preg_match_all('/(?J)(?<chr>[ac])(?<num>\d)|(?<chr>[b])/', 'a1bc3', $m, PREG_SET_ORDER); 12 preg_match_all('/(?<chr>[ac])(?<num>\d)|(?<chr>[b])/J', 'a1bc3', $m, PREG_SET_ORDER);
|
H A D | skip_003.inc | 3 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
|
H A D | 004.phpt | 6 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 D | 005.phpt | 2 abusing preg_match_all() #2 74 var_dump(preg_match_all($gcc_regex, $sampledata, $m, PREG_SET_ORDER));
|
H A D | backtrack_limit.phpt | 5 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) { 15 var_dump(preg_match_all('/.*\p{N}/', '0123456789', $dummy)); 18 var_dump(preg_match_all('/\p{Nd}/', '0123456789', $dummy));
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | generate_name_perfect_hash_table.php | 21 preg_match_all($pattern, $fileContent, $matches, PREG_SET_ORDER);
|
/php-src/ext/standard/tests/mail/ |
H A D | gh8086.phpt | 10 var_dump(preg_match_all('/(?<!\r)\n/', $mail));
|
H A D | bug47983.phpt | 9 var_dump(preg_match_all('/(?<!\r)\n/', $mail));
|
/php-src/scripts/dev/ |
H A D | check_parameters.php | 107 …preg_match_all('/((?:(?:unsigned|struct)\s+)?\w+)(?:\s*(\*+)\s+|\s+(\**))(\w+(?:\[\s*\w*\s*\])?)\s… 116 preg_match_all('/(\**)\s*(\w+(?:\[\s*\w*\s*\])?)\s*(=?)/S', $x[6], $y, PREG_SET_ORDER); 159 …preg_match_all('/(?:\([^)]+\))?(&?)([\w>.()-]+(?:\[\w+\])?)\s*,?((?:\)*\s*=)?)/S', $str, $m, PREG_… 201 if (preg_match_all($regex, $txt, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) {
|
/php-src/ext/tokenizer/ |
H A D | tokenizer_data_gen.php | 22 preg_match_all('(^%token.*\b(?<token_name>T_.*?)\b)m', $incontent, $matches);
|
/php-src/ext/spl/tests/ |
H A D | iterator_052.phpt | 28 @preg_match_all($this->re, (string)($this->uk ? $this->key() : $this->current()), $sub);
|
H A D | iterator_053.phpt | 28 @preg_match_all($this->re, (string)($this->uk ? $this->key() : $this->current()), $sub);
|