/php-src/ext/pcre/tests/ |
H A D | pcre.constants.phpt | 9 echo "PREG_OFFSET_CAPTURE= ", PREG_OFFSET_CAPTURE, "\n"; 24 PREG_OFFSET_CAPTURE= 256
|
H A D | bug66121.phpt | 12 preg_match_all('/(?<!ක)/u', 'ම', $matches, PREG_OFFSET_CAPTURE); 17 var_dump(preg_match_all('/(?<!ක)/u', "\xFCම", $matches, PREG_OFFSET_CAPTURE)); 18 var_dump(preg_match_all('/(?<!ක)/u', "\xFCම", $matches, PREG_OFFSET_CAPTURE));
|
H A D | match_flags2.phpt | 6 var_dump(preg_match('/x(.)/', 'fjszxax', $match, PREG_OFFSET_CAPTURE)); 9 var_dump(preg_match('/(.)x/', 'fjszxax', $match, PREG_OFFSET_CAPTURE, 4)); 12 var_dump(preg_match('/(?P<capt1>.)(x)(?P<letsmix>\S+)/', 'fjszxax', $match, PREG_OFFSET_CAPTURE));
|
H A D | bug52971.phpt | 9 preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE); 13 preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE);
|
H A D | bug61780_1.phpt | 8 preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL); 14 preg_match_all('/(4)?(2)?\d/', '123456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL); 20 preg_match_all('/(4)?(2)?\d/', '123456', $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE | PREG_UNMA…
|
H A D | gh15205_2.phpt | 21 preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL); 22 preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE);
|
H A D | bug79257.phpt | 12 PREG_OFFSET_CAPTURE); 15 PREG_UNMATCHED_AS_NULL|PREG_OFFSET_CAPTURE); 24 PREG_OFFSET_CAPTURE); 27 PREG_UNMATCHED_AS_NULL|PREG_OFFSET_CAPTURE);
|
H A D | gh11374.phpt | 23 $res = preg_match('{^' . $regex . '$}x', '{a}', $matches, PREG_OFFSET_CAPTURE); 26 $res2 = preg_match('{^' . $regex . '$}xx', '{a}', $matches2, PREG_OFFSET_CAPTURE);
|
H A D | match_flags.phpt | 12 var_dump(preg_match_all('/(.)x/', 'zxyx', $match, PREG_OFFSET_CAPTURE)); 15 var_dump(preg_match_all('/(.)x/', 'zxyx', $match, PREG_SET_ORDER | PREG_OFFSET_CAPTURE));
|
H A D | bug61780_2.phpt | 8 preg_match('/(?<a>4)?(?<b>2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL); 14 preg_match_all('/(?<a>4)?(?<b>2)?\d/', '123456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_… 20 preg_match_all('/(?<a>4)?(?<b>2)?\d/', '123456', $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE | P…
|
H A D | preg_match_basic_edit.phpt | 10 var_dump(preg_match('/l^o,\s\w{5}/', $string, $match2, PREG_OFFSET_CAPTURE)); // tries to find "… 16 var_dump(preg_match('@\w{4}\s\w{2}\s\\\(?:\s.*)@', $string, $match4, PREG_OFFSET_CAPTURE, 14)); //f…
|
H A D | preg_match_basic.phpt | 9 var_dump(preg_match('/l^o,\s\w{5}/', $string, $match2, PREG_OFFSET_CAPTURE)); // tries to find "lo,… 13 var_dump(preg_match('@\w{4}\s\w{2}\s\\\(?:\s.*)@', $string, $match4, PREG_OFFSET_CAPTURE, 14)); //f…
|
H A D | preg_replace_callback_flags.phpt | 9 }, 'abc', -1, $count, PREG_OFFSET_CAPTURE)); 17 'abc', -1, $count, PREG_OFFSET_CAPTURE)
|
H A D | bug42945.phpt | 6 var_dump(preg_match_all('/\b/', "a'", $m, PREG_OFFSET_CAPTURE));
|
H A D | preg_match_all_edit_basic.phpt | 7 var_dump(preg_match_all('/[0-35-9]/', $string, $match1, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10…
|
H A D | 004.phpt | 12 …/S', 'zend_parse_parameters( 0, "addd|s/", a, b, &c);', $m, PREG_SET_ORDER | PREG_OFFSET_CAPTURE));
|
H A D | preg_match_all_basic.phpt | 9 var_dump(preg_match_all('/[0-35-9]/', $string, $match1, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10…
|
/php-src/ext/fileinfo/ |
H A D | php_libmagic.h | 62 #ifndef PREG_OFFSET_CAPTURE 63 # define PREG_OFFSET_CAPTURE (1<<8) macro
|
/php-src/ext/spl/tests/ |
H A D | regexiterator_setpregflags.phpt | 27 $r->setPregFlags(PREG_OFFSET_CAPTURE);
|
H A D | regexiterator_getpregflags.phpt | 27 $r->setPregFlags(PREG_OFFSET_CAPTURE);
|
/php-src/ext/pcre/ |
H A D | php_pcre.stub.php | 19 const PREG_OFFSET_CAPTURE = UNKNOWN; define
|
H A D | php_pcre_arginfo.h | 109 REGISTER_LONG_CONSTANT("PREG_OFFSET_CAPTURE", PREG_OFFSET_CAPTURE, CONST_PERSISTENT); in register_php_pcre_symbols()
|
H A D | php_pcre.c | 27 #define PREG_OFFSET_CAPTURE (1<<8) macro 1037 zend_long offset_capture = flags & PREG_OFFSET_CAPTURE; in populate_subpat_array() 1191 offset_capture = flags & PREG_OFFSET_CAPTURE; in php_pcre_match_impl()
|
/php-src/scripts/dev/ |
H A D | check_parameters.php | 194 if (preg_match_all($regex, $txt, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) {
|
/php-src/sapi/cli/tests/ |
H A D | 006.phpt | 48 Constant [ <persistent> int PREG_OFFSET_CAPTURE ] { 256 }
|