/PHP-8.4/ext/gettext/tests/ |
H A D | bug66267.phpt | 16 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 D | dcgettext_lcall.phpt | 2 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 D | gettext_basic.phpt | 8 if (!setlocale(LC_ALL, 'fi_FI')) { 16 putenv('LC_ALL=fi_FI'); 17 setlocale(LC_ALL, 'fi_FI');
|
H A D | gettext_ngettext.phpt | 8 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 D | gettext_dcgettext.phpt | 8 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 D | gettext_dngettext-plural.phpt | 8 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 D | gettext_dgettext.phpt | 8 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 D | gettext_basic-enus.phpt | 8 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 D | gettext_bindtextdomain-cwd.phpt | 8 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 D | setlocale_error.phpt | 7 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 D | setlocale-win32.phpt | 9 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 D | setlocale_variation4.phpt | 5 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 D | setlocale_variation5.phpt | 5 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 D | printf_h_H.phpt | 5 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 D | setlocale_variation3.phpt | 5 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 D | locale_independent_float_to_string.phpt | 5 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 D | bug39873.phpt | 5 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 D | nl_langinfo_basic.phpt | 14 $original = setlocale(LC_ALL, 'C'); 22 setlocale(LC_ALL, $original);
|
/PHP-8.4/ext/pcre/tests/ |
H A D | locales.phpt | 5 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 D | bug73483.phpt | 6 setlocale(LC_ALL, "C"); 8 setlocale(LC_ALL, "en_US"); 10 setlocale(LC_ALL, "C");
|
/PHP-8.4/ext/intl/tests/ |
H A D | bug67052.phpt | 10 $l = setlocale(LC_ALL, 'de_DE'); 14 setlocale(LC_ALL, $l); 21 setlocale(LC_ALL, 'de_DE.UTF-8');
|
H A D | bug14562.phpt | 15 setlocale(LC_ALL, $de_locale); 18 setlocale(LC_ALL, "C"); // reset for printing
|
/PHP-8.4/ext/iconv/tests/ |
H A D | iconv_basic_001.phpt | 10 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 D | consistent_float_string_casts.phpt | 5 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 D | bug46408.phpt | 8 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");
|