Lines Matching refs:locale
2 Test setlocale() function : usage variations - setting system locale = 0
9 die('skip en_US.utf8 locale not available');
14 /* Prototype : string setlocale (int $category , string $locale [,string $..] )
15 * : string setlocale(int $category , array $locale);
16 * Description: Sets locale information.Returns the new current locale , or FALSE
17 * if locale functionality is not implemented in this platform.
21 /* If locale is "0", the locale setting is not affected, only the current setting is returned */
23 echo "*** Testing setlocale() : usage variations - setting system locale = 0 ***\n";
27 //initially giving the locale
30 echo "Locale info, before setting the locale\n";
31 //returns current locale,before executing setlocale().
36 //Testing setlocale() by giving locale = 0
37 echo "Setting system locale, category = LC_ALL and locale = 0\n";
40 echo "Locale info, after setting the locale\n";
41 //returns current locale,after executing setlocale().
46 echo "Checking locale in the system, Expected : no change in the existing locale\n";
57 *** Testing setlocale() : usage variations - setting system locale = 0 ***
58 Locale info, before setting the locale
107 Setting system locale, category = LC_ALL and locale = 0
108 Locale info, after setting the locale
157 Checking locale in the system, Expected : no change in the existing locale