/PHP-8.0/ext/intl/locale/ |
H A D | locale.stub.php | 17 public static function setDefault(string $locale) {} argument 23 public static function getPrimaryLanguage(string $locale) {} argument 29 public static function getScript(string $locale) {} argument 35 public static function getRegion(string $locale) {} argument 41 public static function getKeywords(string $locale) {} argument 47 public static function getDisplayScript(string $locale, ?string $displayLocale = null) {} argument 53 public static function getDisplayRegion(string $locale, ?string $displayLocale = null) {} argument 59 public static function getDisplayName(string $locale, ?string $displayLocale = null) {} argument 83 public static function parseLocale(string $locale) {} argument 89 public static function getAllVariants(string $locale) {} argument [all …]
|
/PHP-8.0/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 | 28 $res_str .= "\nCreating IntlDateFormatter with locale = $locale_entry"; 30 $locale = ut_datefmt_get_locale( $fmt , 1); 31 $res_str .= "\nAfter call to get_locale : locale= $locale"; 51 Creating IntlDateFormatter with locale = de-DE 52 After call to get_locale : locale= de_DE 54 Creating IntlDateFormatter with locale = sl-IT-nedis 55 After call to get_locale : locale= sl 57 Creating IntlDateFormatter with locale = en_UK 58 After call to get_locale : locale= en 60 Creating IntlDateFormatter with locale = hi [all …]
|
H A D | dateformat_format.phpt | 159 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 161 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 163 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 165 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 174 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 176 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 178 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 180 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 189 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 191 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 [all …]
|
H A D | locale_get_display_region3.phpt | 77 $res_str .= "locale='$locale'\n"; 101 locale='root' 111 locale='Hindi' 116 locale='de' 121 locale='fr' 126 locale='ja' 191 locale='de-DE' 196 locale='en-US' 201 locale='es-419' 216 locale='zh-min' [all …]
|
H A D | locale_get_display_script3.phpt | 77 $res_str .= "locale='$locale'\n"; 101 locale='root' 111 locale='Hindi' 116 locale='de' 121 locale='fr' 126 locale='ja' 191 locale='de-DE' 196 locale='en-US' 201 locale='es-419' 216 locale='zh-min' [all …]
|
H A D | locale_get_display_script4.phpt | 77 $res_str .= "locale='$locale'\n"; 101 locale='root' 111 locale='Hindi' 116 locale='de' 121 locale='fr' 126 locale='ja' 191 locale='de-DE' 196 locale='en-US' 201 locale='es-419' 216 locale='zh-min' [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 | 78 $res_str .= "locale='$locale'\n"; 102 locale='root' 112 locale='Hindi' 117 locale='de' 122 locale='fr' 127 locale='ja' 197 locale='de-DE' 202 locale='en-US' 207 locale='es-419' 222 locale='zh-min' [all …]
|
H A D | locale_get_display_language2.phpt | 78 $res_str .= "locale='$locale'\n"; 102 locale='root' 112 locale='Hindi' 117 locale='de' 122 locale='fr' 127 locale='ja' 197 locale='de-DE' 202 locale='en-US' 207 locale='es-419' 222 locale='zh-min' [all …]
|
H A D | locale_get_display_region2.phpt | 77 $res_str .= "locale='$locale'\n"; 101 locale='root' 111 locale='Hindi' 116 locale='de' 121 locale='fr' 126 locale='ja' 191 locale='de-DE' 196 locale='en-US' 201 locale='es-419' 216 locale='zh-min' [all …]
|
H A D | dateformat_format_variant2.phpt | 159 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 161 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 163 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 165 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 174 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 176 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 178 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 180 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 189 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 191 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 [all …]
|
H A D | dateformat_format_variant3.phpt | 161 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 163 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 165 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 167 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 176 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 178 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 180 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 182 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 191 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 193 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 [all …]
|
H A D | dateformat_format_parse.phpt | 147 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 150 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 153 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 161 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 164 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 167 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 175 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 178 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 181 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 189 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 | 147 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 150 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 153 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 161 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 164 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 167 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 175 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 178 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 181 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 189 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 [all …]
|
H A D | locale_get_display_name5.phpt | 89 $res_str .= "locale='$locale'\n"; 139 locale='zh-wuu' 144 locale='i-tay' 169 locale='root' 179 locale='Hindi' 184 locale='de' 189 locale='fr' 194 locale='ja' 259 locale='de-DE' 264 locale='en-US' [all …]
|
H A D | locale_get_display_name6.phpt | 89 $res_str .= "locale='$locale'\n"; 139 locale='zh-wuu' 144 locale='i-tay' 169 locale='root' 179 locale='Hindi' 184 locale='de' 189 locale='fr' 194 locale='ja' 259 locale='de-DE' 264 locale='en-US' [all …]
|
/PHP-8.0/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.0/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 …]
|