Home
last modified time | relevance | path

Searched refs:PREG_OFFSET_CAPTURE (Results 1 – 24 of 24) sorted by relevance

/PHP-7.4/ext/pcre/tests/
H A Dpcre.constants.phpt9 echo "PREG_OFFSET_CAPTURE= ", PREG_OFFSET_CAPTURE, "\n";
25 PREG_OFFSET_CAPTURE= 256
H A Dbug66121.phpt12 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 Dmatch_flags2.phpt6 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 Dbug52971.phpt9 preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE);
13 preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE);
H A Dbug61780_1.phpt8 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 Dbug79257.phpt12 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 Dmatch_flags.phpt12 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 Dbug61780_2.phpt8 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 Dpreg_replace_callback_flags.phpt9 }, 'abc', -1, $count, PREG_OFFSET_CAPTURE));
17 'abc', -1, $count, PREG_OFFSET_CAPTURE)
H A Dpreg_match_basic.phpt12 var_dump(preg_match('/l^o,\s\w{5}/', $string, $match2, PREG_OFFSET_CAPTURE)); // tries to find "lo,…
16 var_dump(preg_match('@\w{4}\s\w{2}\s\\\(?:\s.*)@', $string, $match4, PREG_OFFSET_CAPTURE, 14)); //f…
H A Dpreg_match_basic_edit.phpt17 var_dump(preg_match('/l^o,\s\w{5}/', $string, $match2, PREG_OFFSET_CAPTURE)); // tries to find "…
23 var_dump(preg_match('@\w{4}\s\w{2}\s\\\(?:\s.*)@', $string, $match4, PREG_OFFSET_CAPTURE, 14)); //f…
H A Dbug42945.phpt6 var_dump(preg_match_all('/\b/', "a'", $m, PREG_OFFSET_CAPTURE));
H A D004.phpt12 …/S', 'zend_parse_parameters( 0, "addd|s/", a, b, &c);', $m, PREG_SET_ORDER | PREG_OFFSET_CAPTURE));
H A Dpreg_match_all_edit_basic.phpt13 var_dump(preg_match_all('/[0-35-9]/', $string, $match1, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10…
H A Dpreg_match_all_basic.phpt10 var_dump(preg_match_all('/[0-35-9]/', $string, $match1, PREG_OFFSET_CAPTURE|PREG_PATTERN_ORDER, -10…
/PHP-7.4/ext/spl/tests/
H A Dregexiterator_setpregflags.phpt27 $r->setPregFlags(PREG_OFFSET_CAPTURE);
H A Dregexiterator_getpregflags.phpt27 $r->setPregFlags(PREG_OFFSET_CAPTURE);
/PHP-7.4/sapi/cli/tests/
H A D006.phpt48 Constant [ int PREG_OFFSET_CAPTURE ] { 256 }
/PHP-7.4/scripts/dev/
H A Dcheck_parameters.php202 if (preg_match_all($regex, $txt, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) {
/PHP-7.4/ext/fileinfo/libmagic/
H A Dfuncs.c53 #ifndef PREG_OFFSET_CAPTURE
54 # define PREG_OFFSET_CAPTURE (1<<8) macro
H A Dsoftmagic.c46 #ifndef PREG_OFFSET_CAPTURE
47 # define PREG_OFFSET_CAPTURE (1<<8) macro
2169 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0); in magiccheck()
/PHP-7.4/ext/pcre/
H A Dphp_pcre.c32 #define PREG_OFFSET_CAPTURE (1<<8) macro
421 REGISTER_LONG_CONSTANT("PREG_OFFSET_CAPTURE", PREG_OFFSET_CAPTURE, CONST_CS | CONST_PERSISTENT); in PHP_MINIT_FUNCTION()
1059 zend_bool offset_capture = (flags & PREG_OFFSET_CAPTURE) != 0; in populate_subpat_array()
1210 offset_capture = flags & PREG_OFFSET_CAPTURE; in php_pcre_match_impl()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch2279 +#ifndef PREG_OFFSET_CAPTURE
2280 +# define PREG_OFFSET_CAPTURE (1<<8)
3265 +#ifndef PREG_OFFSET_CAPTURE
3266 +# define PREG_OFFSET_CAPTURE (1<<8)
3555 + php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0);
/PHP-7.4/
H A DUPGRADING312 PREG_OFFSET_CAPTURE and PREG_UNMATCHED_AS_NULL flags. This influences the

Completed in 38 milliseconds