mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
fix skipif
This commit is contained in:
parent
57b543ee6f
commit
b2bc4dd331
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue