/PHP-8.0/ext/intl/tests/ |
H A D | locale_filter_matches2.phpt | 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 266 loc_range:jbo matches lang_tag jbo ? YES [all …]
|
H A D | locale_filter_matches3.phpt | 80 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 D | locale_filter_matches4.phpt | 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 266 loc_range:jbo matches lang_tag jbo ? YES [all …]
|
H A D | locale_filter_matches_icu70.phpt | 82 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-8.0/ext/pcre/tests/ |
H A D | preg_replace_callback_flags.phpt | 6 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 D | bug61780_1.phpt | 5 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 D | bug79257.phpt | 6 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 D | bug61780_2.phpt | 5 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 D | bug81101.phpt | 6 $matches = []; 9 preg_match('/\\\\([^\\\\]+)\s*$/', $test, $matches); 10 var_dump($matches); 14 preg_match('/\\\\([^\\\\]+)\s*$/', $test2, $matches); 15 var_dump($matches);
|
H A D | bug63055.phpt | 12 $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 D | marks.phpt | 15 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 D | bug72688.phpt | 2 Bug #72688 (preg_match missing group names in matches) 12 preg_match($fullPattern, '290', $matches); 14 var_dump($matches['group290']);
|
/PHP-8.0/ext/oci8/tests/ |
H A D | driver_name.phpt | 10 …[: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 D | bug47281.phpt | 9 ….([[: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 D | imp_res_get_none.phpt | 8 …[: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 D | driver_name_11gR2.phpt | 10 …[: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 D | error_bind_3.phpt | 8 …[: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 D | imp_res_get_cancel.phpt | 8 …[: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-8.0/ext/pdo_mysql/tests/ |
H A D | bug_61411.phpt | 12 $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 D | bug_41997.phpt | 11 $matches = array(); 12 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches)) 15 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3]; 18 $matches[1], $matches[2], $matches[3], $version));
|
H A D | bug_41125.phpt | 11 $matches = array(); 12 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches)) 15 $version = $matches[1] * 10000 + $matches[2] * 100 + $matches[3]; 18 $matches[1], $matches[2], $matches[3], $version));
|
H A D | bug_pecl_7976.phpt | 12 $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));
|
/PHP-8.0/ext/pdo_mysql/ |
H A D | get_error_codes.php | 9 …reg('^\{[[:space:]]+(ER_.*)[[:space:]]+,[[:space:]]*"(.*)",[[:space:]]*"(.*)"', $line, $matches)) { 10 $codes[$matches[1]] = $matches[2]; 11 $maxlen = max($maxlen, strlen($matches[1]));
|
/PHP-8.0/Zend/tests/ |
H A D | bug63055.phpt | 14 $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.0/scripts/dev/ |
H A D | tidy.php | 93 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]);
|