Home
last modified time | relevance | path

Searched refs:LC_ALL (Results 1 – 25 of 106) sorted by relevance

12345

/PHP-8.4/ext/gettext/tests/
H A Dbug66267.phpt16 if (!setlocale(LC_ALL, $l)) {
30 putenv("LC_ALL=$l");
31 setlocale(LC_ALL, $l);
38 echo 'LC_ALL=', getenv('LC_ALL'), "\n";
45 LC_ALL=de_DE
48 LC_ALL=fr_FR
51 LC_ALL=en_US
H A Ddcgettext_lcall.phpt2 dcgettext with LC_ALL is undefined behavior.
8 dcgettext('dngettextTest', 'item', LC_ALL);
14 dcngettext('dngettextTest', 'item', 'item2', 1, LC_ALL);
20 dcgettext(): Argument #3 ($category) cannot be LC_ALL
21 dcngettext(): Argument #5 ($category) cannot be LC_ALL
H A Dgettext_basic.phpt8 if (!setlocale(LC_ALL, 'fi_FI')) {
16 putenv('LC_ALL=fi_FI');
17 setlocale(LC_ALL, 'fi_FI');
H A Dgettext_ngettext.phpt8 if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
15 putenv('LC_ALL=en_US.UTF-8');
16 setlocale(LC_ALL, 'en_US.UTF-8');
H A Dgettext_dcgettext.phpt8 if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
17 putenv('LC_ALL=en_US.UTF-8');
18 setlocale(LC_ALL, 'en_US.UTF-8');
H A Dgettext_dngettext-plural.phpt8 if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
15 putenv('LC_ALL=en_US.UTF-8');
16 setlocale(LC_ALL, 'en_US.UTF-8');
H A Dgettext_dgettext.phpt8 if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
17 putenv('LC_ALL=en_US.UTF-8');
18 setlocale(LC_ALL, 'en_US.UTF-8');
H A Dgettext_basic-enus.phpt8 if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
16 putenv('LC_ALL=en_US.UTF-8');
17 setlocale(LC_ALL, 'en_US.UTF-8');
H A Dgettext_bindtextdomain-cwd.phpt8 if (!setlocale(LC_ALL, 'en_US.UTF-8')) {
19 putenv('LC_ALL=en_US.UTF-8');
20 setlocale(LC_ALL, 'en_US.UTF-8');
/PHP-8.4/ext/standard/tests/strings/
H A Dsetlocale_error.phpt7 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
16 echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n";
19 var_dump( setlocale(LC_ALL,$invalid_locales) );
21 echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n";
23 var_dump( setlocale(LC_ALL,"en_US.invalid", "en_AU.invalid", "ko_KR.invalid") );
25 echo "\n-- Testing setlocale() function with locale name too long, 'category' = LC_ALL --";
27 var_dump(setlocale(LC_ALL,str_pad('',255,'A')));
34 -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --
37 -- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --
40 -- Testing setlocale() function with locale name too long, 'category' = LC_ALL --
H A Dsetlocale-win32.phpt9 var_dump(setlocale(LC_ALL, 'de_DE'));
10 var_dump(setlocale(LC_ALL, 'de_DE.UTF-8'));
12 var_dump(setlocale(LC_ALL, 'uk_UK'));
13 var_dump(setlocale(LC_ALL, 'uk_US'));
14 var_dump(setlocale(LC_ALL, 'us_UK'));
15 var_dump(setlocale(LC_ALL, 'us_US'));
H A Dsetlocale_variation4.phpt5 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
9 if (setlocale(LC_ALL,'en_US.utf8') === false || setlocale(LC_ALL,'en_AU.utf8') === false) {
14 LC_ALL=en_US.utf8;
22 setlocale(LC_ALL,"en_AU.utf8");
30 echo "Setting system locale, category = LC_ALL and locale = null\n";
31 setlocale(LC_ALL, null);
95 Setting system locale, category = LC_ALL and locale = null
H A Dsetlocale_variation5.phpt5 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
9 if (setlocale(LC_ALL,'en_AU.utf8') === false || setlocale(LC_ALL,'en_US.utf8') === false) {
14 LC_ALL=en_US.utf8;
22 setlocale(LC_ALL,'en_AU.utf8');
32 echo "Setting system locale, category = LC_ALL and locale = \"\"\n";
33 setlocale(LC_ALL, "");
99 Setting system locale, category = LC_ALL and locale = ""
H A Dprintf_h_H.phpt5 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
6 if (!setlocale(LC_ALL, "de_DE.utf8")) die("skip de_DE.utf8 locale not available");
11 setlocale(LC_ALL, "de_DE.utf8");
H A Dsetlocale_variation3.phpt5 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
9 if (setlocale(LC_ALL,'en_US.utf8') === false) {
22 setlocale(LC_ALL,"en_US.utf8");
31 echo "Setting system locale, category = LC_ALL and locale = 0\n";
32 setlocale(LC_ALL, 0);
97 Setting system locale, category = LC_ALL and locale = 0
H A Dlocale_independent_float_to_string.phpt5 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
7 (LC_ALL,
46 setlocale(LC_ALL, "C");
52 LC_ALL,
H A Dbug39873.phpt5 if (!setlocale(LC_ALL, "ita","it","Italian","it_IT","it_IT.ISO8859-1","it_IT.ISO_8859-1")) {
11 setlocale(LC_ALL, "ita","it","Italian","it_IT","it_IT.ISO8859-1","it_IT.ISO_8859-1");
H A Dnl_langinfo_basic.phpt14 $original = setlocale(LC_ALL, 'C');
22 setlocale(LC_ALL, $original);
/PHP-8.4/ext/pcre/tests/
H A Dlocales.phpt5 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
6 if (!@setlocale(LC_ALL, 'pt_PT', 'pt', 'pt_PT.ISO8859-1', 'portuguese')) die('skip pt locale not av…
14 setlocale(LC_ALL, 'C', 'POSIX');
17 setlocale(LC_ALL, 'pt_PT', 'pt', 'pt_PT.ISO8859-1', 'portuguese');
20 setlocale(LC_ALL, 'C', 'POSIX');
H A Dbug73483.phpt6 setlocale(LC_ALL, "C");
8 setlocale(LC_ALL, "en_US");
10 setlocale(LC_ALL, "C");
/PHP-8.4/ext/intl/tests/
H A Dbug67052.phpt10 $l = setlocale(LC_ALL, 'de_DE');
14 setlocale(LC_ALL, $l);
21 setlocale(LC_ALL, 'de_DE.UTF-8');
H A Dbug14562.phpt15 setlocale(LC_ALL, $de_locale);
18 setlocale(LC_ALL, "C"); // reset for printing
/PHP-8.4/ext/iconv/tests/
H A Diconv_basic_001.phpt10 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
11 if (setlocale(LC_ALL, "en_US.utf8") === false) { die('skip en_US.utf8 locales not available'); }
15 setlocale(LC_ALL, "en_US.utf8");
/PHP-8.4/tests/basic/
H A Dconsistent_float_string_casts.phpt5 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
7 LC_ALL,
18 LC_ALL,
/PHP-8.4/ext/pgsql/tests/
H A Dbug46408.phpt8 if (false === setlocale(LC_ALL, "de", "de_DE", "de_DE.ISO8859-1", "de_DE.ISO_8859-1", "de_DE.UTF-8"…
18 setlocale(LC_ALL, "de", "de_DE", "de_DE.ISO8859-1", "de_DE.ISO_8859-1", "de_DE.UTF-8");

Completed in 23 milliseconds

12345