mirror of
https://github.com/php/php-src.git
synced 2024-09-24 19:37:26 +00:00
Added a skip condition for situations where the TZ variable could not be
set (safe_mode).
This commit is contained in:
parent
c371b6c5f9
commit
19820c0e83
@ -1,7 +1,11 @@
|
||||
--TEST--
|
||||
strtotime() function
|
||||
--POST--
|
||||
--GET--
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!@putenv("TZ=Europe/Amsterdam") || getenv("TZ") != 'Europe/Amsterdam') {
|
||||
die("skip unable to change TZ enviroment variable\n");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$dates = array (
|
||||
|
Loading…
Reference in New Issue
Block a user