|
|
|
@ -18,8 +18,11 @@ if (substr(PHP_OS, 0, 3) == 'WIN') { |
|
|
|
/* setlocale() to set all available locales in the system and check the success count */ |
|
|
|
echo "*** Testing setlocale() : usage variations ***\n"; |
|
|
|
|
|
|
|
function good_locale($locale) { |
|
|
|
return $locale !== 'tt_RU@iqtelif.UTF-8'; |
|
|
|
function good_locale($locale) { |
|
|
|
/** |
|
|
|
* Note: no_NO is a bogus locale and should not be used, see https://bugzilla.redhat.com/show_bug.cgi?id=532487 |
|
|
|
**/ |
|
|
|
return $locale !== 'tt_RU@iqtelif.UTF-8' && substr($locale, 0, 5) !== "no_NO"; |
|
|
|
} |
|
|
|
|
|
|
|
/* Prototype : array list_system_locales( void ) |
|
|
|
|