Lines Matching refs:setlocale
2 Test setlocale() function : error condition
13 echo "*** Testing setlocale() : error conditions ***\n";
15 echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n";
18 var_dump( setlocale(LC_ALL,$invalid_locales) );
20 echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n";
22 var_dump( setlocale(LC_ALL,"en_US.invalid", "en_AU.invalid", "ko_KR.invalid") );
24 echo "\n-- Testing setlocale() function with locale name too long, 'category' = LC_ALL --";
26 var_dump(setlocale(LC_ALL,str_pad('',255,'A')));
31 *** Testing setlocale() : error conditions ***
33 -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --
36 -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --
39 -- Testing setlocale() function with locale name too long, 'category' = LC_ALL --
40 Warning: setlocale(): Specified locale name is too long in %s on line %d