diff options
Diffstat (limited to 'ext/standard/tests/strings/setlocale_basic1.phpt')
-rw-r--r-- | ext/standard/tests/strings/setlocale_basic1.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/setlocale_basic1.phpt b/ext/standard/tests/strings/setlocale_basic1.phpt index f753111755..957357f6c1 100644 --- a/ext/standard/tests/strings/setlocale_basic1.phpt +++ b/ext/standard/tests/strings/setlocale_basic1.phpt @@ -5,6 +5,9 @@ Test setlocale() function : basic functionality - setting system locale to a spe if (substr(PHP_OS, 0, 3) == 'WIN') { die('skip Not valid for windows'); } +if (setlocale(LC_ALL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf8", "ja_JP.utf8", "el_GR.utf8", "nl_NL.utf8") === false) { + die('skip available locales not usable'); +} ?> --FILE-- <?php |