Home
last modified time | relevance | path

Searched refs:PREG_SPLIT_OFFSET_CAPTURE (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/pcre/tests/
H A Dpcre.constants.phpt12 echo "PREG_SPLIT_OFFSET_CAPTURE= ", PREG_SPLIT_OFFSET_CAPTURE, "\n";
27 PREG_SPLIT_OFFSET_CAPTURE= 4
H A Dsplit2.phpt9 var_dump(preg_split('/(\d*)/', 'ab2c3u', -1, PREG_SPLIT_OFFSET_CAPTURE));
11 var_dump(preg_split('/(\d*)/', 'ab2c3u', -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_OFFSET_CAPTURE));
12 var_dump(preg_split('/(\d*)/', 'ab2c3u', -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_OFFSET_CAPTURE));
13 …\d*)/', 'ab2c3u', -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_OFFSET_CAPTURE));
H A Dbug42945.phpt10 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_OFFSET_CAPTURE));
12 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_NO_EMPTY|PREG_SPLIT_OFFSET_CAPTURE));
H A D004.phpt15 …HP_FUNCTION(s, preg_match)\n{\nlalala", -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_OFFSET_CAPTURE));
/php-src/ext/pcre/
H A Dphp_pcre.stub.php39 const PREG_SPLIT_OFFSET_CAPTURE = UNKNOWN; define
H A Dphp_pcre_arginfo.h113 REGISTER_LONG_CONSTANT("PREG_SPLIT_OFFSET_CAPTURE", PREG_SPLIT_OFFSET_CAPTURE, CONST_PERSISTENT); in register_php_pcre_symbols()
H A Dphp_pcre.c32 #define PREG_SPLIT_OFFSET_CAPTURE (1<<2) macro
2571 offset_capture = flags & PREG_SPLIT_OFFSET_CAPTURE; in php_pcre_split_impl()
/php-src/scripts/dev/
H A Dcheck_parameters.php309 …ETHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', $txt, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_OFFSET_CAPTURE);
/php-src/sapi/cli/tests/
H A D006.phpt52 Constant [ <persistent> int PREG_SPLIT_OFFSET_CAPTURE ] { 4 }

Completed in 13 milliseconds