Home
last modified time | relevance | path

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

12345678

/PHP-8.2/ext/intl/tests/
H A Dlocale_filter_matches2.phpt81 loc_range:de-de matches lang_tag de-DEVA ? NO
87 loc_range:de-de matches lang_tag de-DE ? YES
96 loc_range:de-de matches lang_tag sl_IT ? NO
117 loc_range:de-de matches lang_tag i-lux ? NO
123 loc_range:de-de matches lang_tag jbo ? NO
135 loc_range:sl_IT matches lang_tag de-DE ? NO
171 loc_range:sl_IT matches lang_tag jbo ? NO
231 loc_range:jbo matches lang_tag de-DE ? NO
240 loc_range:jbo matches lang_tag sl_IT ? NO
261 loc_range:jbo matches lang_tag i-lux ? NO
[all …]
H A Dlocale_filter_matches3.phpt81 loc_range:de-de matches lang_tag de-DEVA ? NO
87 loc_range:de-de matches lang_tag de-DE ? YES
96 loc_range:de-de matches lang_tag sl_IT ? NO
117 loc_range:de-de matches lang_tag i-lux ? NO
123 loc_range:de-de matches lang_tag jbo ? NO
135 loc_range:sl_IT matches lang_tag de-DE ? NO
171 loc_range:sl_IT matches lang_tag jbo ? NO
231 loc_range:jbo matches lang_tag de-DE ? NO
240 loc_range:jbo matches lang_tag sl_IT ? NO
261 loc_range:jbo matches lang_tag i-lux ? NO
[all …]
H A Dlocale_filter_matches4.phpt81 loc_range:de-de matches lang_tag de-DEVA ? NO
87 loc_range:de-de matches lang_tag de-DE ? YES
96 loc_range:de-de matches lang_tag sl_IT ? NO
117 loc_range:de-de matches lang_tag i-lux ? NO
123 loc_range:de-de matches lang_tag jbo ? NO
135 loc_range:sl_IT matches lang_tag de-DE ? NO
171 loc_range:sl_IT matches lang_tag jbo ? NO
231 loc_range:jbo matches lang_tag de-DE ? NO
240 loc_range:jbo matches lang_tag sl_IT ? NO
261 loc_range:jbo matches lang_tag i-lux ? NO
[all …]
H A Dlocale_filter_matches_icu70.phpt83 loc_range:de-de matches lang_tag de-DEVA ? NO
89 loc_range:de-de matches lang_tag de-DE ? YES
98 loc_range:de-de matches lang_tag sl_IT ? NO
119 loc_range:de-de matches lang_tag i-lux ? NO
125 loc_range:de-de matches lang_tag jbo ? NO
137 loc_range:sl_IT matches lang_tag de-DE ? NO
173 loc_range:sl_IT matches lang_tag jbo ? NO
233 loc_range:jbo matches lang_tag de-DE ? NO
242 loc_range:jbo matches lang_tag sl_IT ? NO
263 loc_range:jbo matches lang_tag i-lux ? NO
[all …]
/PHP-8.2/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);
/PHP-8.2/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.phpt11 ….([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)/', oci_client_version(), $matches);
12 if (!isset($matches[0]) ||
13 …($matches[1] > 11 || ($matches[1] == 11 && $matches[2] > 2) || ($matches[1] == 11 && $matches[2] =…
H A Dimp_res_get_none.phpt9 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
10 if (!(isset($matches[0]) && $matches[1] >= 12)) {
13 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
14 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 Dimp_res_get_cancel.phpt9 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
10 if (!(isset($matches[0]) && $matches[1] >= 12)) {
13 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
14 if (!(isset($matches[0]) && $matches[0] >= 12)) {
H A Dimp_res_get_exec.phpt9 …[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
10 if (!(isset($matches[0]) && $matches[1] >= 12)) {
13 preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
14 if (!(isset($matches[0]) && $matches[0] >= 12)) {
/PHP-8.2/ext/pdo_mysql/tests/
H A Dbug_61411.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_41997.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.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_pecl_7976.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_39858.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));
/PHP-8.2/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-8.2/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);
/PHP-8.2/scripts/dev/
H A Dtidy.php93 return preg_replace_callback('/^ +/m', function(array $matches) {
95 $spaces = strlen($matches[0]);
103 return preg_replace_callback('/^[ \t]+/m', function(array $matches) {
106 foreach (str_split($matches[0]) as $char) {
130 function(array $matches) use($transformer) {
131 return $matches[1] . $transformer($matches[2]);

Completed in 29 milliseconds

12345678