Home
last modified time | relevance | path

Searched refs:matches (Results 1 – 25 of 167) sorted by relevance

1234567

/PHP-7.4/ext/intl/tests/
H A Dlocale_filter_matches2.phpt80 loc_range:de-de matches lang_tag de-DEVA ? NO
86 loc_range:de-de matches lang_tag de-DE ? YES
95 loc_range:de-de matches lang_tag sl_IT ? NO
116 loc_range:de-de matches lang_tag i-lux ? NO
122 loc_range:de-de matches lang_tag jbo ? NO
134 loc_range:sl_IT matches lang_tag de-DE ? NO
170 loc_range:sl_IT matches lang_tag jbo ? NO
230 loc_range:jbo matches lang_tag de-DE ? NO
239 loc_range:jbo matches lang_tag sl_IT ? NO
260 loc_range:jbo matches lang_tag i-lux ? NO
[all …]
H A Dlocale_filter_matches3.phpt80 loc_range:de-de matches lang_tag de-DEVA ? NO
86 loc_range:de-de matches lang_tag de-DE ? YES
95 loc_range:de-de matches lang_tag sl_IT ? NO
116 loc_range:de-de matches lang_tag i-lux ? NO
122 loc_range:de-de matches lang_tag jbo ? NO
134 loc_range:sl_IT matches lang_tag de-DE ? NO
170 loc_range:sl_IT matches lang_tag jbo ? NO
230 loc_range:jbo matches lang_tag de-DE ? NO
239 loc_range:jbo matches lang_tag sl_IT ? NO
260 loc_range:jbo matches lang_tag i-lux ? NO
[all …]
H A Dlocale_filter_matches4.phpt86 loc_range:de-de matches lang_tag de-DE ? YES
95 loc_range:de-de matches lang_tag sl_IT ? NO
116 loc_range:de-de matches lang_tag i-lux ? NO
122 loc_range:de-de matches lang_tag jbo ? NO
134 loc_range:sl_IT matches lang_tag de-DE ? NO
170 loc_range:sl_IT matches lang_tag jbo ? NO
230 loc_range:jbo matches lang_tag de-DE ? NO
239 loc_range:jbo matches lang_tag sl_IT ? NO
260 loc_range:jbo matches lang_tag i-lux ? NO
266 loc_range:jbo matches lang_tag jbo ? YES
[all …]
H A Dlocale_filter_matches_icu70.phpt82 loc_range:de-de matches lang_tag de-DEVA ? NO
88 loc_range:de-de matches lang_tag de-DE ? YES
97 loc_range:de-de matches lang_tag sl_IT ? NO
118 loc_range:de-de matches lang_tag i-lux ? NO
124 loc_range:de-de matches lang_tag jbo ? NO
136 loc_range:sl_IT matches lang_tag de-DE ? NO
172 loc_range:sl_IT matches lang_tag jbo ? NO
232 loc_range:jbo matches lang_tag de-DE ? NO
241 loc_range:jbo matches lang_tag sl_IT ? NO
262 loc_range:jbo matches lang_tag i-lux ? NO
[all …]
/PHP-7.4/ext/pcre/tests/
H A Dpreg_replace_callback_flags.phpt6 var_dump(preg_replace_callback('/./', function($matches) {
7 var_dump($matches);
8 return $matches[0][0];
13 ['/./' => function($matches) {
14 var_dump($matches);
15 return $matches[0][0];
22 var_dump($matches);
23 return $matches[0];
28 ['/(a)|(b)/' => function($matches) {
29 var_dump($matches);
[all …]
H A Dbug61780_1.phpt5 preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_UNMATCHED_AS_NULL);
6 var_export($matches);
8 preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL);
9 var_export($matches);
11 preg_match_all('/(4)?(2)?\d/', '123456', $matches, PREG_UNMATCHED_AS_NULL);
12 var_export($matches);
14 preg_match_all('/(4)?(2)?\d/', '123456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL);
15 var_export($matches);
17 preg_match_all('/(4)?(2)?\d/', '123456', $matches, PREG_SET_ORDER | PREG_UNMATCHED_AS_NULL);
18 var_export($matches);
[all …]
H A Dbug79257.phpt6 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches);
7 var_dump($matches);
8 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches,
10 var_dump($matches);
11 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches,
13 var_dump($matches);
16 var_dump($matches);
19 var_dump($matches);
22 var_dump($matches);
25 var_dump($matches);
[all …]
H A Dbug61780_2.phpt5 preg_match('/(?<a>4)?(?<b>2)?\d/', '23456', $matches, PREG_UNMATCHED_AS_NULL);
6 var_export($matches);
8 preg_match('/(?<a>4)?(?<b>2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL);
9 var_export($matches);
11 preg_match_all('/(?<a>4)?(?<b>2)?\d/', '123456', $matches, PREG_UNMATCHED_AS_NULL);
12 var_export($matches);
14 preg_match_all('/(?<a>4)?(?<b>2)?\d/', '123456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_…
15 var_export($matches);
17 preg_match_all('/(?<a>4)?(?<b>2)?\d/', '123456', $matches, PREG_SET_ORDER | PREG_UNMATCHED_AS_NULL);
18 var_export($matches);
[all …]
H A Dbug81101.phpt6 $matches = [];
9 preg_match('/\\\\([^\\\\]+)\s*$/', $test, $matches);
10 var_dump($matches);
14 preg_match('/\\\\([^\\\\]+)\s*$/', $test2, $matches);
15 var_dump($matches);
H A Dmarks.phpt15 var_dump(preg_match($regex, '_c_', $matches));
16 var_dump($matches);
18 var_dump(preg_match_all($regex, '_a__b__c__d_', $matches, PREG_PATTERN_ORDER));
19 var_dump($matches);
21 var_dump(preg_match_all($regex, '_a__b__c__d_', $matches, PREG_SET_ORDER));
22 var_dump($matches);
24 var_dump(preg_replace_callback($regex, function($matches) {
25 var_dump($matches);
26 return $matches[0];
H A Dbug63055.phpt12 $matches = array("foo" => "bar"); /* this bucket will trigger the segfault */
16 $matches[1] = &$matches;
17 $matches[2] = $dummy;
19 preg_match_all("/(\d)+/", "foo123456bar", $matches);
H A Dbug72688.phpt2 Bug #72688 (preg_match missing group names in matches)
12 preg_match($fullPattern, '290', $matches);
14 var_dump($matches['group290']);
/PHP-7.4/ext/oci8/tests/
H A Ddriver_name.phpt10 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
11 if (!(isset($matches[0]) && ($matches[1] > 12 ||
12 ($matches[1] == 12 && $matches[2] == 1 && $matches[3] >= 0
13 && $matches[4] >= 2) || ($matches[1] == 12 && $matches[2] > 1)))) {
17 ….([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
18 if (!(isset($matches[0]) && ($matches[1] == 11 && $matches[2] >= 2) || ($matches[1] > 11))) {
H A Dbug47281.phpt9 ….([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
10 if (!isset($matches[0]) ||
11 …($matches[1] > 11 || ($matches[1] == 11 && $matches[2] > 2) || ($matches[1] == 11 && $matches[2] =…
H A Dimp_res_get_none.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 12)) {
H A Ddriver_name_11gR2.phpt10 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
11 if (!(isset($matches[0]) && ($matches[1] == 11 && $matches[2] >= 2))) {
14 ….([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
15 if (!(isset($matches[0]) && ($matches[1] == 11 && $matches[2] >= 2) || ($matches[1] > 11))) {
H A Derror_bind_3.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 12)) {
H A Dimp_res_get_cancel.phpt8 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
9 if (!(isset($matches[0]) && $matches[1] >= 12)) {
12 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
13 if (!(isset($matches[0]) && $matches[0] >= 12)) {
/PHP-7.4/scripts/dev/
H A Dtidy.php83 return preg_replace_callback('/^ +/m', function(array $matches) {
85 $spaces = strlen($matches[0]);
93 return preg_replace_callback('/^[ \t]+/m', function(array $matches) {
96 foreach (str_split($matches[0]) as $char) {
120 function(array $matches) use($transformer) {
121 return $matches[1] . $transformer($matches[2]) . $matches[3];
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug_61411.phpt12 $matches = array();
13 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
16 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
19 $matches[1], $matches[2], $matches[3], $version));
H A Dbug_41997.phpt13 $matches = array();
14 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
17 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
20 $matches[1], $matches[2], $matches[3], $version));
H A Dbug_pecl_7976.phpt12 $matches = array();
13 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
16 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
19 $matches[1], $matches[2], $matches[3], $version));
H A Dbug_41125.phpt11 $matches = array();
12 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
15 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3];
19 $matches[1], $matches[2], $matches[3], $version));
/PHP-7.4/ext/pdo_mysql/
H A Dget_error_codes.php9 …reg('^\{[[:space:]]+(ER_.*)[[:space:]]+,[[:space:]]*"(.*)",[[:space:]]*"(.*)"', $line, $matches)) {
10 $codes[$matches[1]] = $matches[2];
11 $maxlen = max($maxlen, strlen($matches[1]));
/PHP-7.4/Zend/tests/
H A Dbug63055.phpt14 $matches = array("foo" => "bar"); /* this bucket will trigger the segfault */
18 $matches[1] = &$matches;
19 $matches[2] = $dummy;
21 str_replace("foo", "bar", "foobar", $matches);

Completed in 34 milliseconds

1234567