Lines Matching refs:setlocale
2 Test setlocale() function : basic functionality - passing multiple 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 locales are provided as argument */
37 pass as argument to setlocale() */
38 echo "*** Testing setlocale() by passing multiple locales as argument ***\n";
58 // Now check for three locales that is present in the system and use that as argument to setlocale()
62 …echo "-- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.u…
64 // call setlocale()
65 $new_locale = setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8");
67 // dump the name of the new locale set by setlocale()
87 *** Testing setlocale() by passing multiple locales as argument ***
88 -- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh…