Browse Source

fix skipif

PHP-5.2.1RC1
Zoe Slattery 17 years ago
parent
commit
44807c9bbe
  1. 3
      ext/date/tests/strftime_variation22.phpt

3
ext/date/tests/strftime_variation22.phpt

@ -5,6 +5,9 @@ Test strftime() function : usage variation - Checking Preferred date and time re
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
die("skip Test is not valid for Windows");
}
if (!setlocale(LC_ALL, "en_US")) {
die("skip The en_US locale is not available");
}
?>
--FILE--
<?php

Loading…
Cancel
Save