fix skipif

This commit is contained in:
Zoe Slattery 2009-06-25 14:44:01 +00:00
parent 57b543ee6f
commit b2bc4dd331

View file

@ -5,6 +5,9 @@ Test gmstrftime() function : usage variation - Checking Preferred date and time
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
die("skip Test is not valid for Windows");
}
if (!setlocale(LC_ALL, "en_US.utf8", "en_US")) {
die("skip Locale en_US or en_US.utf8 is required to run this test");
}
?>
--FILE--
<?php