diff options
Diffstat (limited to 'ext/standard/tests/strings/setlocale_variation4.phpt')
-rw-r--r-- | ext/standard/tests/strings/setlocale_variation4.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/setlocale_variation4.phpt b/ext/standard/tests/strings/setlocale_variation4.phpt index 3968be102f..4ab1db7ad4 100644 --- a/ext/standard/tests/strings/setlocale_variation4.phpt +++ b/ext/standard/tests/strings/setlocale_variation4.phpt @@ -5,6 +5,9 @@ Test setlocale() function : usage variations - setting system locale as null if (substr(PHP_OS, 0, 3) == 'WIN') { die('skip Not valid for windows'); } +if (setlocale(LC_ALL,'en_US.utf8') === false || setlocale(LC_ALL,'en_AU.utf8') === false) { + die('skip en_US.utf8/en_AU.utf8 locales not available'); +} ?> --ENV-- LC_ALL=en_US.utf8; |