/PHP-7.0/ext/intl/tests/ |
H A D | calendar_getAvailableLocales_basic.phpt | 12 $locales = IntlCalendar::getAvailableLocales(); 13 var_dump(count($locales) > 100); 15 $locales = intlcal_get_available_locales(); 16 var_dump(in_array('pt', $locales));
|
H A D | formatter_format_currency.phpt | 10 * Format a number using misc currencies/locales. 13 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'uk' locales changed 20 $locales = array( 31 foreach( $locales as $locale => $currency )
|
H A D | formatter_format_currency2.phpt | 10 * Format a number using misc currencies/locales. 13 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'uk' locales changed 20 $locales = array( 31 foreach( $locales as $locale => $currency )
|
H A D | collator_create.phpt | 10 * Try creating collator with different locales 18 $locales = array( 28 foreach( $locales as $locale ) 39 // Get the requested, valid and actual locales.
|
H A D | collator_create4.phpt | 10 * Try creating collator with different locales 18 $locales = array( 28 foreach( $locales as $locale ) 39 // Get the requested, valid and actual locales.
|
H A D | collator_create2.phpt | 11 * Try creating collator with different locales 19 $locales = array( 29 foreach( $locales as $locale ) 40 // Get the requested, valid and actual locales.
|
H A D | collator_create3.phpt | 11 * Try creating collator with different locales 19 $locales = array( 29 foreach( $locales as $locale ) 40 // Get the requested, valid and actual locales.
|
H A D | msgfmt_get_locale.phpt | 14 $locales = array( 22 foreach( $locales as $locale )
|
H A D | formatter_format6.phpt | 10 * Format a number using misc locales/patterns. 14 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed 37 $locales = array( 48 foreach( $locales as $locale )
|
H A D | formatter_format2.phpt | 10 * Format a number using misc locales/patterns. 14 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed 37 $locales = array( 48 foreach( $locales as $locale )
|
H A D | formatter_format3.phpt | 11 * 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 D | formatter_format4.phpt | 11 * 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 D | formatter_format5.phpt | 11 * 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 D | formatter_format.phpt | 10 * Format a number using misc locales/patterns. 14 * TODO: doesn't pass on ICU 3.6 because 'ru' and 'de' locales changed 37 $locales = array( 48 foreach( $locales as $locale )
|
H A D | formatter_get_locale_variant3.phpt | 15 $locales = array( 28 foreach( $locales as $locale )
|
H A D | formatter_get_locale.phpt | 15 $locales = array( 28 foreach( $locales as $locale )
|
H A D | formatter_get_locale_variant2.phpt | 16 $locales = array( 29 foreach( $locales as $locale )
|
H A D | msgfmt_parse.phpt | 9 * Format a number using misc locales/patterns. 15 $locales = array( 36 foreach( $locales as $locale => $pattern )
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | setlocale_basic3.phpt | 2 Test setlocale() function : basic functionality - passing multiple locales as argument 9 die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available'); 21 /* Test the setlocale() when multiple locales are provided as argument */ 32 // run the command 'locale -a' to fetch all locales available in the system 47 /* Collect existing system locales and get three locales that can be use to 49 echo "*** Testing setlocale() by passing multiple locales as argument ***\n"; 52 //set of currency symbol according to above list of locales 66 // gather all the locales installed in the system 69 // Now check for three locales that is present in the system and use that as argument to setlocale() 98 *** Testing setlocale() by passing multiple locales as argument *** [all …]
|
H A D | setlocale_variation1.phpt | 2 Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument 9 die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available'); 21 /* Test the setlocale() when multiple valid/invalid locales are provided as argument */ 32 // run the command 'locale -a' to fetch all locales available in the system 47 /* Collect existing system locales and get 2 valid locales that can be use to 49 echo "*** Testing setlocale() by passing multiple valid/invalid locales as argument ***\n"; 51 //set of currency symbol according to above list of locales 65 // gather all the locales installed in the system 68 // Now check for three locales that is present in the system and use that as argument to setlocale() 97 *** Testing setlocale() by passing multiple valid/invalid locales as argument *** [all …]
|
H A D | setlocale_basic2.phpt | 9 die('skip available locales not usable'); 21 /* Test the setlocale() when an array is provided as input containing list of locales */ 32 // run the command 'locale -a' to fetch all locales available in the system 47 /* Collect existing system locales and prepare a list of locales that can be used as 50 echo "*** Testing setlocale() with an array containing list of locales ***\n"; 52 //set of locales to be used 66 //set of currency symbol according to above list of locales 80 // gather all the locales installed in the system 83 // prepare the list of locales based on list of locales found in the system 94 // Now $list_of_locales array contains the locales that can be passed to [all …]
|
H A D | setlocale_variation2.phpt | 2 Test setlocale() function : usage variations - Setting all available locales in the platform 18 /* setlocale() to set all available locales in the system and check the success count */ 37 // run the command 'locale -a' to fetch all locales available in the system 52 // gather all the locales installed in the system 60 // gather all locales installed in the system(stored $all_system_locales), 73 echo "No of locales found on the machine = ".count($all_system_locales)."\n"; 78 // failure then dump the list of failing locales 93 No of locales found on the machine = %d
|
H A D | setlocale_basic1.phpt | 9 die('skip available locales not usable'); 32 // run the command 'locale -a' to fetch all locales available in the system 47 /* Collect existing system locales and set one among them, 51 //set of locales to be used 65 //set of currency symbol according to above list of locales 79 // gather all the locales installed in the system 84 // $common_locales & locales that are available in the system, stored
|
H A D | setlocale_error.phpt | 30 //Invalid array of locales 34 echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n"; 35 //Invalid array of locales 58 -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --
|
/PHP-7.0/ext/intl/spoofchecker/ |
H A D | spoofchecker_main.c | 96 char *locales; in PHP_METHOD() local 100 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s", &locales, &locales_len)) { in PHP_METHOD() 106 uspoof_setAllowedLocales(co->uspoof, locales, SPOOFCHECKER_ERROR_CODE_P(co)); in PHP_METHOD()
|