/PHP-5.5/tests/lang/ |
H A D | 034.phpt | 6 <?php # try to activate a german locale 8 print "skip Can't find german locale"; 13 # activate the german locale
|
/PHP-5.5/ext/intl/tests/ |
H A D | collator_compare.phpt | 34 * using specified locale. 36 function compare_pairs( $locale, $test_array ) 40 $coll = ut_coll_create( $locale ); 63 // Compare strings using en_US locale. 85 // Compare strings using ru_RU locale. 100 // Compare strings using lt_LT locale.
|
H A D | collator_compare_variant2.phpt | 34 * using specified locale. 36 function compare_pairs( $locale, $test_array ) 40 $coll = ut_coll_create( $locale ); 63 // Compare strings using en_US locale. 85 // Compare strings using ru_RU locale. 100 // Compare strings using lt_LT locale.
|
H A D | collator_asort.phpt | 17 * Sort various arrays in specified locale. 19 function sort_arrays( $locale, $test_arrays, $sort_flag = Collator::SORT_REGULAR ) 23 $coll = ut_coll_create( $locale ); 57 // Sort an array in SORT_REGULAR mode using en_US locale. 87 // Sort an array in SORT_STRING mode using en_US locale. 108 // Sort a non-ASCII array using ru_RU locale. 123 // Sort an array using Lithuanian locale.
|
H A D | collator_asort_variant2.phpt | 17 * Sort various arrays in specified locale. 19 function sort_arrays( $locale, $test_arrays, $sort_flag = Collator::SORT_REGULAR ) 23 $coll = ut_coll_create( $locale ); 57 // Sort an array in SORT_REGULAR mode using en_US locale. 87 // Sort an array in SORT_STRING mode using en_US locale. 108 // Sort a non-ASCII array using ru_RU locale. 123 // Sort an array using Lithuanian locale.
|
H A D | collator_sort.phpt | 17 * Sort arrays in the given list using specified locale. 19 function sort_arrays( $locale, $arrays, $sort_flag = Collator::SORT_REGULAR ) 23 $coll = ut_coll_create( $locale ); 55 // Sort an array in SORT_REGULAR mode using en_US locale. 79 // Sort in en_US locale with SORT_STRING flag 83 // Sort a non-ASCII array using ru_RU locale. 91 // Sort an array using Lithuanian locale.
|
H A D | collator_sort_variant2.phpt | 17 * Sort arrays in the given list using specified locale. 19 function sort_arrays( $locale, $arrays, $sort_flag = Collator::SORT_REGULAR ) 23 $coll = ut_coll_create( $locale ); 55 // Sort an array in SORT_REGULAR mode using en_US locale. 79 // Sort in en_US locale with SORT_STRING flag 83 // Sort a non-ASCII array using ru_RU locale. 91 // Sort an array using Lithuanian locale.
|
H A D | formatter_format_currency.phpt | 31 foreach( $locales as $locale => $currency ) 33 $fmt = ut_nfmt_create( $locale, NumberFormatter::CURRENCY ); 34 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
|
H A D | formatter_format_currency2.phpt | 31 foreach( $locales as $locale => $currency ) 33 $fmt = ut_nfmt_create( $locale, NumberFormatter::CURRENCY ); 34 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
|
H A D | collator_get_sort_key_variant4.phpt | 12 function sort_arrays( $locale, $data ) 16 $coll = ut_coll_create( $locale ); 42 // Sort a non-ASCII array using ru_RU locale. 49 // Sort an array using Lithuanian locale.
|
H A D | collator_sort_with_sort_keys.phpt | 17 * Sort arrays in the given list using specified locale. 19 function sort_arrays( $locale, $arrays ) 23 $coll = ut_coll_create( $locale ); 57 // Sort an array in SORT_REGULAR mode using en_US locale. 72 // Sort a non-ASCII array using ru_RU locale. 85 // Sort an array using Lithuanian locale.
|
H A D | collator_sort_with_sort_keys_variant2.phpt | 17 * Sort arrays in the given list using specified locale. 19 function sort_arrays( $locale, $arrays ) 23 $coll = ut_coll_create( $locale ); 57 // Sort an array in SORT_REGULAR mode using en_US locale. 72 // Sort a non-ASCII array using ru_RU locale. 85 // Sort an array using Lithuanian locale.
|
H A D | collator_get_sort_key.phpt | 14 function sort_arrays( $locale, $data ) 18 $coll = ut_coll_create( $locale ); 44 // Sort a non-ASCII array using ru_RU locale. 51 // Sort an array using Lithuanian locale.
|
H A D | collator_get_sort_key_variant2.phpt | 13 function sort_arrays( $locale, $data ) 17 $coll = ut_coll_create( $locale ); 43 // Sort a non-ASCII array using ru_RU locale. 50 // Sort an array using Lithuanian locale.
|
H A D | collator_get_sort_key_variant3.phpt | 13 function sort_arrays( $locale, $data ) 17 $coll = ut_coll_create( $locale ); 43 // Sort a non-ASCII array using ru_RU locale. 50 // Sort an array using Lithuanian locale.
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | bug65769.phpt | 14 foreach ($locales as $locale) { 15 $locale = setlocale(LC_ALL, $locale); 18 $locale,
|
H A D | bug65230.phpt | 2 Bug #65230 setting locale randomly broken 14 function test($locale, $value) 16 $newlocale = setlocale(LC_ALL, $locale);
|
/PHP-5.5/ext/intl/dateformat/ |
H A D | dateformat_helpers.cpp | 32 Locale const& locale, in datefmt_process_calendar_arg() argument 45 cal = new GregorianCalendar(locale, status); in datefmt_process_calendar_arg() 63 cal = Calendar::createInstance(locale, status); in datefmt_process_calendar_arg() 65 cal = new GregorianCalendar(locale, status); in datefmt_process_calendar_arg()
|
/PHP-5.5/ext/intl/formatter/ |
H A D | formatter_main.c | 30 const char* locale; in numfmt_ctor() local 40 &locale, &locale_len, &style, &pattern, &pattern_len ) == FAILURE ) in numfmt_ctor() 59 locale = intl_locale_get_default(TSRMLS_C); in numfmt_ctor() 63 …FORMATTER_OBJECT(nfo) = unum_open(style, spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CO… in numfmt_ctor()
|
/PHP-5.5/ext/gettext/tests/ |
H A D | gettext_basic-enus.phpt | 2 Gettext basic test with en_US locale that should be on nearly every system 9 die("skip en_US.UTF-8 locale not supported."); 17 bindtextdomain ("messages", "./locale");
|
H A D | gettext_dgettext.phpt | 9 die("SKIP en_US.UTF-8 locale not supported."); 16 bindtextdomain('dgettextTest', './locale'); 17 bindtextdomain('dgettextTest_switch', './locale');
|
H A D | gettext_basic.phpt | 9 die("skip fi_FI locale not supported."); 17 bindtextdomain ("messages", "./locale");
|
/PHP-5.5/ext/intl/doc/ |
H A D | formatter_api.php | 146 * @param string $locale Locale in which the number would be formatted 150 public function __construct($locale, $style, $pattern = null) {} argument 162 * @param string $locale Locale in which the number would be formatted 168 public static function create($locale, $style, $pattern = null) {} argument 334 * @param string $locale Locale in which the number would be formatted 339 function numfmt_create($locale, $style, $pattern = null) {} argument
|
/PHP-5.5/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 84 const char *locale; in resourcebundle_ctor() local 94 &locale, &locale_len, &bundlename, &bundlename_len, &fallback ) == FAILURE ) in resourcebundle_ctor() 104 if (locale == NULL) { in resourcebundle_ctor() 105 locale = intl_locale_get_default(TSRMLS_C); in resourcebundle_ctor() 109 rb->me = ures_open(bundlename, locale, &INTL_DATA_ERROR_CODE(rb)); in resourcebundle_ctor() 111 rb->me = ures_openDirect(bundlename, locale, &INTL_DATA_ERROR_CODE(rb)); in resourcebundle_ctor() 122 bundlename ? bundlename : "(default data)", locale, in resourcebundle_ctor() 135 ZEND_ARG_INFO( 0, locale ) 200 const char * locale = ures_getLocaleByType( rb->me, ULOC_ACTUAL_LOCALE, &icuerror ); in resourcebundle_array_fetch() local 202 spprintf( &pbuf, 0, "Cannot load element %d without fallback from to %s", meindex, locale ); in resourcebundle_array_fetch() [all …]
|
/PHP-5.5/ext/intl/msgformat/ |
H A D | msgformat.c | 31 const char* locale; in msgfmt_ctor() local 43 &locale, &locale_len, &pattern, &pattern_len ) == FAILURE ) in msgfmt_ctor() 64 locale = intl_locale_get_default(TSRMLS_C); in msgfmt_ctor() 81 …MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CODE(mfo… in msgfmt_ctor()
|