Lines Matching refs:setlocale
2 Test setlocale() function : usage variations - passing multiple valid/invalid locales as argument
5 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
9 if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false) {
15 /* Test the setlocale() when multiple valid/invalid locales are provided as argument */
37 pass as argument to setlocale(), pass 2 invalid arguments along with two valid arguments*/
38 echo "*** Testing setlocale() by passing multiple valid/invalid locales as argument ***\n";
57 // Now check for three locales that is present in the system and use that as argument to setlocale()
61 …echo "-- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_U…
63 // call setlocale()
64 …$new_locale = setlocale(LC_ALL, "en_US.invalid", "en_US.utf8", "Ko_KR.utf8", "KO_KR.invalid", "zh_…
66 // dump the name of the new locale set by setlocale()
86 *** Testing setlocale() by passing multiple valid/invalid locales as argument ***
87 -- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8,…