/PHP-8.1/ext/intl/locale/ |
H A D | locale.stub.php | 17 public static function setDefault(string $locale) {} // TODO make return type void argument 23 public static function getPrimaryLanguage(string $locale): ?string{} argument 29 public static function getScript(string $locale): ?string {} argument 35 public static function getRegion(string $locale): ?string {} argument 42 public static function getKeywords(string $locale): array|false|null {} argument 48 …public static function getDisplayScript(string $locale, ?string $displayLocale = null): string|fal… argument 54 …public static function getDisplayRegion(string $locale, ?string $displayLocale = null): string|fal… argument 60 …public static function getDisplayName(string $locale, ?string $displayLocale = null): string|false… argument 84 public static function parseLocale(string $locale): ?array {} argument 90 public static function getAllVariants(string $locale): ?array {} argument [all …]
|
/PHP-8.1/ext/intl/tests/ |
H A D | locale_set_default.phpt | 2 locale_set_default($locale) 81 $res_str .= "$locale: set locale '$lang'"; 84 $res_str .= "$locale: Error in set locale"; 99 root: set locale 'root' 101 Hindi: set locale 'Hindi' 102 de: set locale 'de' 103 fr: set locale 'fr' 104 ja: set locale 'ja' 117 de-DE: set locale 'de-DE' 118 en-US: set locale 'en-US' [all …]
|
H A D | dateformat_get_locale.phpt | 29 $res_str .= "\nCreating IntlDateFormatter with locale = $locale_entry"; 31 $locale = ut_datefmt_get_locale( $fmt , 1); 32 $res_str .= "\nAfter call to get_locale : locale= $locale"; 52 Creating IntlDateFormatter with locale = de-DE 53 After call to get_locale : locale= de_DE 55 Creating IntlDateFormatter with locale = sl-IT-nedis 56 After call to get_locale : locale= sl 58 Creating IntlDateFormatter with locale = en_UK 59 After call to get_locale : locale= en 61 Creating IntlDateFormatter with locale = hi [all …]
|
H A D | dateformat_format.phpt | 160 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 162 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 164 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 166 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 175 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 177 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 179 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 181 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 190 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 192 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 [all …]
|
H A D | locale_get_display_region3.phpt | 78 $res_str .= "locale='$locale'\n"; 102 locale='root' 112 locale='Hindi' 117 locale='de' 122 locale='fr' 127 locale='ja' 192 locale='de-DE' 197 locale='en-US' 202 locale='es-419' 217 locale='zh-min' [all …]
|
H A D | locale_get_display_script3.phpt | 78 $res_str .= "locale='$locale'\n"; 102 locale='root' 112 locale='Hindi' 117 locale='de' 122 locale='fr' 127 locale='ja' 137 locale='zh-Hant' 192 locale='de-DE' 197 locale='en-US' 202 locale='es-419' [all …]
|
H A D | locale_get_display_script4.phpt | 78 $res_str .= "locale='$locale'\n"; 102 locale='root' 112 locale='Hindi' 117 locale='de' 122 locale='fr' 127 locale='ja' 137 locale='zh-Hant' 192 locale='de-DE' 197 locale='en-US' 202 locale='es-419' [all …]
|
H A D | locale_get_display_variant2.phpt | 76 $res_str .= "locale='$locale'\n"; 100 locale='root' 110 locale='Hindi' 115 locale='de' 120 locale='fr' 125 locale='ja' 135 locale='zh-Hant' 190 locale='de-DE' 195 locale='en-US' 200 locale='es-419' [all …]
|
H A D | locale_get_display_language.phpt | 79 $res_str .= "locale='$locale'\n"; 103 locale='root' 113 locale='Hindi' 118 locale='de' 123 locale='fr' 128 locale='ja' 198 locale='de-DE' 203 locale='en-US' 208 locale='es-419' 223 locale='zh-min' [all …]
|
H A D | locale_get_display_language2.phpt | 79 $res_str .= "locale='$locale'\n"; 103 locale='root' 113 locale='Hindi' 118 locale='de' 123 locale='fr' 128 locale='ja' 198 locale='de-DE' 203 locale='en-US' 208 locale='es-419' 223 locale='zh-min' [all …]
|
H A D | locale_get_display_region2.phpt | 78 $res_str .= "locale='$locale'\n"; 102 locale='root' 112 locale='Hindi' 117 locale='de' 122 locale='fr' 127 locale='ja' 137 locale='zh-Hant' 192 locale='de-DE' 197 locale='en-US' 202 locale='es-419' [all …]
|
H A D | dateformat_format_variant2.phpt | 160 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 162 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 164 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 166 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 175 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 177 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 179 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 181 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 190 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 192 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 [all …]
|
H A D | dateformat_format_variant3.phpt | 162 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 164 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 166 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 168 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 177 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 179 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 181 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 183 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 192 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 194 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 [all …]
|
H A D | dateformat_format_parse.phpt | 148 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 151 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 154 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 162 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 165 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 168 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 176 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 179 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 182 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 190 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 [all …]
|
H A D | ut_common.inc | 46 function ut_coll_create( $locale ) 48 return $GLOBALS['oo-mode'] ? Collator::create( $locale ) : collator_create( $locale ); 237 return $GLOBALS['oo-mode'] ? Locale::setDefault( $locale ) : locale_set_default( $locale ); 243 function ut_loc_get_script( $locale ) 245 return $GLOBALS['oo-mode'] ? Locale::getScript( $locale ) : locale_get_script( $locale ); 247 function ut_loc_get_region( $locale ) 249 return $GLOBALS['oo-mode'] ? Locale::getRegion( $locale ) : locale_get_region( $locale ); 253 return $GLOBALS['oo-mode'] ? Locale::getKeywords( $locale ) : locale_get_keywords( $locale ); 281 return $GLOBALS['oo-mode'] ? Locale::parseLocale( $locale ) : locale_parse($locale ); 285 …return $GLOBALS['oo-mode'] ? Locale::getAllVariants( $locale ) : locale_get_all_variants( $locale … [all …]
|
H A D | dateformat_format_parse_version2.phpt | 149 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 152 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 155 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 163 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 166 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 169 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 177 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 180 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 183 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 191 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 [all …]
|
H A D | dateformat_format_parse_version_icu72-1.phpt | 148 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 151 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 154 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 162 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 165 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 168 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 176 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 179 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 182 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 190 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 [all …]
|
H A D | locale_get_display_name7.phpt | 90 $res_str .= "locale='$locale'\n"; 140 locale='zh-wuu' 145 locale='i-tay' 170 locale='root' 180 locale='Hindi' 185 locale='de' 190 locale='fr' 195 locale='ja' 260 locale='de-DE' 265 locale='en-US' [all …]
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | setlocale_variation3.phpt | 9 die('skip en_US.utf8 locale not available'); 14 /* If locale is "0", the locale setting is not affected, only the current setting is returned */ 20 //initially giving the locale 23 echo "Locale info, before setting the locale\n"; 29 //Testing setlocale() by giving locale = 0 30 echo "Setting system locale, category = LC_ALL and locale = 0\n"; 39 echo "Checking locale in the system, Expected : no change in the existing locale\n"; 51 Locale info, before setting the locale 100 Setting system locale, category = LC_ALL and locale = 0 101 Locale info, after setting the locale [all …]
|
H A D | setlocale_variation5.phpt | 16 /* If locale is empty string "", the locale names will be set from the values of environment variab… 20 //initially setting the locale 23 echo "Locale info, before setting the locale\n"; 30 //Testing setlocale() by giving locale = null 31 echo "Setting system locale, category = LC_ALL and locale = \"\"\n"; 34 echo "Locale info, after setting the locale\n"; 41 echo "Checking new locale in the system, Expected : the locale names will be set from the values of… 53 Locale info, before setting the locale 102 Setting system locale, category = LC_ALL and locale = "" 103 Locale info, after setting the locale [all …]
|
H A D | setlocale_variation4.phpt | 16 /*If locale is NULL, the locale names will be set from the values of environment variables with the… 20 //initially setting the locale 23 echo "Locale info, before setting the locale\n"; 28 //Testing setlocale() by giving locale = null 29 echo "Setting system locale, category = LC_ALL and locale = null\n"; 32 echo "Locale info, after setting the locale\n"; 37 echo "Checking new locale in the system, Expected : the locale names will be set from the values of… 49 Locale info, before setting the locale 98 Setting system locale, category = LC_ALL and locale = null 99 Locale info, after setting the locale [all …]
|
H A D | setlocale_basic1.phpt | 14 /* test setlocale by specifying a specific locale as input */ 21 system('locale -a'); 31 // return all the locale found in the system 36 Check the currency settings in the new locale */ 70 // set the system locale to a locale, choose the right locale by 71 // finding a common locale in commonly used locale stored in 74 echo "Setting system locale(LC_ALL) to "; 79 // set the found locale as current locale 90 // check that new locale setting is effective 91 // use localeconv() to get the details of currently set locale [all …]
|
H A D | setlocale_variation2.phpt | 8 exec("locale -a", $output, $exit_code); 10 die("skip locale -a not available"); 18 function good_locale($locale) { 22 return $locale !== 'tt_RU@iqtelif.UTF-8' && $locale !== 'no_NO.ISO-8859-1'; 30 system('locale -a'); 40 // return all the locale found in the system, except for broken one 47 //try different locale names 51 echo "-- Test setlocale() with all available locale in the system --\n"; 55 //set locale to $value, if success, count increments 73 echo "Names of locale() for which setlocale() failed ...\n"; [all …]
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | dirname_basic.phpt | 27 '/usr/lib/locale/en_US', 28 '//usr/lib//locale/en_US', 34 '/usr/lib/locale/en_US/', 36 '/usr\lib/locale\en_US', 40 ' /usr/lib/locale/en_US', 66 string(15) "/usr/lib/locale" 67 string(17) "//usr/lib//locale" 73 string(15) "/usr/lib/locale" 79 string(18) " /usr/lib/locale" 80 string(15) "/usr/lib/locale" [all …]
|
H A D | dirname_basic-win32.phpt | 27 '/usr/lib/locale/en_US', 28 '//usr/lib//locale/en_US', 34 '/usr/lib/locale/en_US/', 36 '/usr\lib/locale\en_US', 66 string(15) "/usr/lib/locale" 67 string(17) "//usr/lib//locale" 73 string(15) "/usr/lib/locale" 75 string(15) "/usr\lib/locale" 79 string(18) " /usr/lib/locale" 80 string(15) "/usr/lib/locale" [all …]
|