Home
last modified time | relevance | path

Searched refs:locale (Results 26 – 50 of 215) sorted by relevance

123456789

/PHP-5.5/ext/standard/tests/strings/
H A Dsetlocale_variation2.phpt12 : string setlocale(int $category , array $locale);
13 * Description: Sets locale information.Returns the new current locale , or FALSE
21 function good_locale($locale) {
22 return $locale !== 'tt_RU@iqtelif.UTF-8';
28 * Returns : set of locale as array
35 system('locale -a');
45 // return all the locale found in the system, except for broken one
52 //try different locale names
60 //set locale to $value, if success, count increments
78 echo "Names of locale() for which setlocale() failed ...\n";
[all …]
H A Dsetlocale_basic2.phpt2 Test setlocale() function : basic functionality - set locale using an array
15 : string setlocale(int $category , array $locale);
16 * Description: Sets locale information.Returns the new current locale , or FALSE
26 * Returns : set of locale as array
33 system('locale -a');
43 // return all the locale found in the system
98 // set locale to $list_of_locales
101 // dump the current locale
104 // check that new locale setting is effective
105 // use localeconv() to get the details of currently set locale
[all …]
H A Dsetlocale_basic3.phpt14 /* Prototype : string setlocale (int $category , string $locale [,string $..] )
15 : string setlocale(int $category , array $locale);
16 * Description: Sets locale information.Returns the new current locale , or FALSE
17 if locale functionality is not implemented in this platform.
26 Returns : set of locale as array
33 system('locale -a');
43 // return all the locale found in the system
78 // dump the name of the new locale set by setlocale()
81 // check that new locale setting is effective
82 // use localeconv() to get the details of currently set locale
[all …]
H A Dsetlocale_variation1.phpt14 /* Prototype : string setlocale (int $category , string $locale [,string $..] )
15 : string setlocale(int $category , array $locale);
16 * Description: Sets locale information.Returns the new current locale , or FALSE
17 if locale functionality is not implemented in this platform.
26 Returns : set of locale as array
33 system('locale -a');
43 // return all the locale found in the system
77 // dump the name of the new locale set by setlocale()
80 // check that new locale setting is effective
81 // use localeconv() to get the details of currently set locale
[all …]
H A Dsetlocale_error.phpt13 /* Prototype : string setlocale (int $category , string $locale [,string $..] )
14 : string setlocale(int $category , array $locale);
15 …* Description: Sets locale information.Returns the new current locale , or FALSE if locale functio…
29 echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n";
56 -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --
64 Deprecated: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -consta…
66 Warning: setlocale(): Invalid locale category name TEST, must be one of LC_ALL, LC_COLLATE, LC_CTYP…
/PHP-5.5/ext/intl/tests/
H A Ddateformat_format_parse_version2.phpt147 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 Dlocale_get_display_name.phpt88 $res_str .= "locale='$locale'\n";
138 locale='zh-wuu'
143 locale='i-tay'
168 locale='root'
178 locale='Hindi'
183 locale='de'
188 locale='fr'
193 locale='ja'
258 locale='de-DE'
263 locale='en-US'
[all …]
H A Dlocale_get_display_name2.phpt89 $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 Dlocale_get_display_name3.phpt88 $res_str .= "locale='$locale'\n";
138 locale='zh-wuu'
143 locale='i-tay'
168 locale='root'
178 locale='Hindi'
183 locale='de'
188 locale='fr'
193 locale='ja'
258 locale='de-DE'
263 locale='en-US'
[all …]
H A Dlocale_get_display_name4.phpt89 $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 Dlocale_get_display_name5.phpt88 $res_str .= "locale='$locale'\n";
138 locale='zh-wuu'
143 locale='i-tay'
168 locale='root'
178 locale='Hindi'
183 locale='de'
188 locale='fr'
193 locale='ja'
258 locale='de-DE'
263 locale='en-US'
[all …]
H A Dlocale_get_default.phpt20 $res_str .= "Default locale: $lang";
25 $res_str .= "Default locale: $lang";
30 $res_str .= "Default locale: $lang";
44 Default locale: en-US
45 Default locale: de-DE
46 Default locale: fr
H A Dcollator_create4.phpt28 foreach( $locales as $locale )
30 // Create Collator with the current locale.
31 $coll = ut_coll_create( $locale );
34 $res_str .= "Error creating collator with '$locale' locale: " .
44 $res_str .= "Locale: '$locale'\n" .
45 " ULOC_REQUESTED_LOCALE = '$locale'\n" .
66 Error creating collator with 'uk-ua_CALIFORNIA@currency=;currency=GRN' locale: collator_create: una…
79 …72931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too…
H A Dcollator_create.phpt28 foreach( $locales as $locale )
30 // Create Collator with the current locale.
31 $coll = ut_coll_create( $locale );
34 $res_str .= "Error creating collator with '$locale' locale: " .
44 $res_str .= "Locale: '$locale'\n" .
45 " ULOC_REQUESTED_LOCALE = '$locale'\n" .
82 …72931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too…
H A Dcollator_create2.phpt29 foreach( $locales as $locale )
31 // Create Collator with the current locale.
32 $coll = ut_coll_create( $locale );
35 $res_str .= "Error creating collator with '$locale' locale: " .
45 $res_str .= "Locale: '$locale'\n" .
46 " ULOC_REQUESTED_LOCALE = '$locale'\n" .
83 …72931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too…
H A Dcollator_create3.phpt29 foreach( $locales as $locale )
31 // Create Collator with the current locale.
32 $coll = ut_coll_create( $locale );
35 $res_str .= "Error creating collator with '$locale' locale: " .
45 $res_str .= "Locale: '$locale'\n" .
46 " ULOC_REQUESTED_LOCALE = '$locale'\n" .
83 …72931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too…
H A Dmsgfmt_get_locale.phpt9 * Get locale.
22 foreach( $locales as $locale )
24 $fmt = ut_msgfmt_create( $locale, "Test" );
25 $res_str .= "$locale: " . dump( ut_msgfmt_get_locale( $fmt ) );
H A Dcollator_get_locale.phpt12 * Try to specify valid and invalid locale types when getting locale.
30 foreach( $locales as $locale )
32 $rc = ut_coll_get_locale( $coll, $locale );
36 dump( $locale ),
H A Dcollator_get_locale2.phpt10 * Try to specify valid and invalid locale types when getting locale.
28 foreach( $locales as $locale )
30 $rc = ut_coll_get_locale( $coll, $locale );
34 dump( $locale ),
H A Dformatter_get_locale.phpt10 * Get locale.
28 foreach( $locales as $locale )
30 $fmt = ut_nfmt_create( $locale, NumberFormatter::DECIMAL );
31 $res_str .= "$locale: ";
H A Dformatter_get_locale_variant2.phpt10 * Get locale.
28 foreach( $locales as $locale )
30 $fmt = ut_nfmt_create( $locale, NumberFormatter::DECIMAL );
31 $res_str .= "$locale: ";
H A Dmsgfmt_parse.phpt36 foreach( $locales as $locale => $pattern )
38 $str_res .= "\nLocale is: $locale\n";
39 $fmt = ut_msgfmt_create( $locale, $pattern );
44 $str_res .= dump( ut_msgfmt_parse( $fmt, $results[$locale] ) ) . "\n";
45 $str_res .= dump( ut_msgfmt_parse_message($locale, $pattern, $results[$locale])) . "\n";
/PHP-5.5/ext/intl/collator/
H A Dcollator_create.c30 const char* locale; in collator_ctor() local
39 &locale, &locale_len ) == FAILURE ) in collator_ctor()
51 locale = intl_locale_get_default(TSRMLS_C); in collator_ctor()
55 co->ucoll = ucol_open( locale, COLLATOR_ERROR_CODE_P( co ) ); in collator_ctor()
/PHP-5.5/ext/intl/doc/
H A Ddatefmt_api.php55 * @param string $locale Locale to use when formatting or parsing
66 …public function __construct($locale, $datetype, $timetype, $timezone = null, $calendar= null , $pa… argument
71 * @param string $locale Locale to use when formatting or parsing
82 …public static function create($locale, $datetype, $timetype, $timezone = null, $calendar= null , $… argument
252 * @param string $locale Locale to use when formatting or parsing
262 …function datefmt_create($locale, $datetype, $timetype, $timezone = null, $calendar= null ,$pattern… argument
H A Dcollator_api.php80 * @param string $locale The locale whose collation rules
90 public function __construct( $locale ) {} argument
106 public static function create( $locale ) {} argument
252 * @param string $locale The locale containing the required
262 function collator_create( $locale ) {} argument

Completed in 97 milliseconds

123456789