summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-08-05 12:29:26 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-08-05 12:29:26 +0000
commit0ff21d0370847cd3ba8f532dfb1c4833b140df16 (patch)
treebf7592ff61bb608351cddc2913152381f31de680
parent139cc3e2af82c186336cdcffe6fd94db87156b56 (diff)
downloadphp-git-0ff21d0370847cd3ba8f532dfb1c4833b140df16.tar.gz
putenv() should be put here as well.
-rw-r--r--ext/standard/tests/time/bug13142.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/tests/time/bug13142.phpt b/ext/standard/tests/time/bug13142.phpt
index 6e2bf87d31..f021bea6aa 100644
--- a/ext/standard/tests/time/bug13142.phpt
+++ b/ext/standard/tests/time/bug13142.phpt
@@ -8,6 +8,7 @@ if (!@putenv("TZ=US/Eastern") || getenv("TZ") != 'US/Eastern') {
?>
--FILE--
<?php
+putenv("TZ=US/Eastern");
echo date("r\n", strtotime("Sep 04 16:39:45 2001"));
echo date("r\n", strtotime("Sep 04 2001 16:39:45"));
?>