/PHP-8.1/ext/intl/tests/ |
H A D | locale_filter_matches2.phpt | 81 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 D | locale_filter_matches3.phpt | 81 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 D | locale_filter_matches4.phpt | 81 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 D | locale_filter_matches_icu70.phpt | 83 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.1/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 | 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 | 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);
|
/PHP-8.1/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 | 11 ….([[: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 D | imp_res_get_none.phpt | 9 …[: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 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 | imp_res_get_cancel.phpt | 9 …[: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 D | imp_res_get_exec.phpt | 9 …[: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.1/ext/pdo_mysql/tests/ |
H A D | bug_61411.phpt | 13 $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 D | bug_41997.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_41125.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_pecl_7976.phpt | 13 $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 D | bug_39858.phpt | 13 $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.1/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.1/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.1/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]);
|