Added a skip condition for situations where the TZ variable could not be

set (safe_mode).
This commit is contained in:
Ilia Alshanetsky 2002-10-29 15:36:47 +00:00
parent c371b6c5f9
commit 19820c0e83

View File

@ -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 (