Home
last modified time | relevance | path

Searched refs:locales (Results 1 – 25 of 88) sorted by relevance

1234

/PHP-8.2/ext/intl/tests/
H A Dcalendar_getAvailableLocales_basic.phpt10 $locales = IntlCalendar::getAvailableLocales();
11 var_dump(count($locales) > 100);
13 $locales = intlcal_get_available_locales();
14 var_dump(in_array('pt', $locales));
H A Dformatter_format_currency2.phpt9 * Format a number using misc currencies/locales.
12 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'uk' locales changed
19 $locales = array(
30 foreach( $locales as $locale => $currency )
H A Dcollator_create2.phpt11 * Try creating collator with different locales
19 $locales = array(
29 foreach( $locales as $locale )
40 // Get the requested, valid and actual locales.
H A Dcollator_create3.phpt12 * Try creating collator with different locales
20 $locales = array(
30 foreach( $locales as $locale )
41 // Get the requested, valid and actual locales.
H A Dcollator_create4.phpt11 * Try creating collator with different locales
19 $locales = array(
29 foreach( $locales as $locale )
40 // Get the requested, valid and actual locales.
H A Dmsgfmt_get_locale.phpt14 $locales = array(
22 foreach( $locales as $locale )
H A Dformatter_format2.phpt11 * Format a number using misc locales/patterns.
15 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed
38 $locales = array(
49 foreach( $locales as $locale )
H A Dformatter_format3.phpt12 * Format a number using misc locales/patterns.
16 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed
39 $locales = array(
50 foreach( $locales as $locale )
H A Dformatter_format4.phpt12 * Format a number using misc locales/patterns.
16 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed
39 $locales = array(
50 foreach( $locales as $locale )
H A Dformatter_format5.phpt12 * Format a number using misc locales/patterns.
16 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed
39 $locales = array(
50 foreach( $locales as $locale )
H A Dformatter_format6.phpt12 * Format a number using misc locales/patterns.
16 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed
39 $locales = array(
50 foreach( $locales as $locale )
H A Dformatter_get_locale_variant4.phpt16 $locales = array(
29 foreach( $locales as $locale )
H A Dformatter_format7.phpt12 * Format a number using misc locales/patterns.
16 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed
39 $locales = array(
50 foreach( $locales as $locale )
H A Dformatter_format8.phpt11 * Format a number using misc locales/patterns.
15 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed
38 $locales = array(
49 foreach( $locales as $locale )
H A Dformatter_get_locale.phpt16 $locales = array(
29 foreach( $locales as $locale )
H A Dformatter_get_locale_variant2.phpt17 $locales = array(
30 foreach( $locales as $locale )
H A Dformatter_get_locale_variant3.phpt17 $locales = array(
30 foreach( $locales as $locale )
H A Dmsgfmt_parse.phpt9 * Format a number using misc locales/patterns.
15 $locales = array(
36 foreach( $locales as $locale => $pattern )
/PHP-8.2/ext/standard/tests/strings/
H A Dsetlocale_basic3.phpt2 Test setlocale() function : basic functionality - passing multiple locales as argument
10 die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');
15 /* Test the setlocale() when multiple locales are provided as argument */
21 // run the command 'locale -a' to fetch all locales available in the system
36 /* Collect existing system locales and get three locales that can be use to
38 echo "*** Testing setlocale() by passing multiple locales as argument ***\n";
41 //set of currency symbol according to above list of locales
55 // gather all the locales installed in the system
58 // Now check for three locales that is present in the system and use that as argument to setlocale()
87 *** Testing setlocale() by passing multiple locales as argument ***
[all …]
H A Dsetlocale_variation1.phpt2 Test setlocale() function : usage variations - passing multiple valid/invalid locales as argument
10 die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');
15 /* Test the setlocale() when multiple valid/invalid locales are provided as argument */
21 // run the command 'locale -a' to fetch all locales available in the system
36 /* Collect existing system locales and get 2 valid locales that can be use to
38 echo "*** Testing setlocale() by passing multiple valid/invalid locales as argument ***\n";
40 //set of currency symbol according to above list of locales
54 // gather all the locales installed in the system
57 // Now check for three locales that is present in the system and use that as argument to setlocale()
86 *** Testing setlocale() by passing multiple valid/invalid locales as argument ***
[all …]
H A Dsetlocale_basic2.phpt10 die('skip available locales not usable');
15 /* Test the setlocale() when an array is provided as input containing list of locales */
21 // run the command 'locale -a' to fetch all locales available in the system
36 /* Collect existing system locales and prepare a list of locales that can be used as
39 echo "*** Testing setlocale() with an array containing list of locales ***\n";
41 //set of locales to be used
55 //set of currency symbol according to above list of locales
69 // gather all the locales installed in the system
72 // prepare the list of locales based on list of locales found in the system
83 // Now $list_of_locales array contains the locales that can be passed to
[all …]
H A Dsetlocale_variation2.phpt2 Test setlocale() function : usage variations - Setting all available locales in the platform
15 /* setlocale() to set all available locales in the system and check the success count */
29 // run the command 'locale -a' to fetch all locales available in the system
44 // gather all the locales installed in the system
52 // gather all locales installed in the system(stored $all_system_locales),
65 echo "No of locales found on the machine = ".count($all_system_locales)."\n";
70 // failure then dump the list of failing locales
85 No of locales found on the machine = %d
H A Dsetlocale_error.phpt17 //Invalid array of locales
21 echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n";
22 //Invalid array of locales
37 -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --
H A Dsetlocale_basic1.phpt10 die('skip available locales not usable');
21 // run the command 'locale -a' to fetch all locales available in the system
36 /* Collect existing system locales and set one among them,
40 //set of locales to be used
54 //set of currency symbol according to above list of locales
68 // gather all the locales installed in the system
73 // $common_locales & locales that are available in the system, stored
/PHP-8.2/ext/intl/spoofchecker/
H A Dspoofchecker_main.c86 char *locales; in PHP_METHOD() local
90 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s", &locales, &locales_len)) { in PHP_METHOD()
96 uspoof_setAllowedLocales(co->uspoof, locales, SPOOFCHECKER_ERROR_CODE_P(co)); in PHP_METHOD()

Completed in 28 milliseconds

1234