summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-10-22 02:36:04 +0000
committerfoobar <sniper@php.net>2001-10-22 02:36:04 +0000
commitf10d1f8f01c2b447ab7974a1ba71be51d98ad238 (patch)
tree974ed2469b5b47b845325c53507824942d971f27
parent740073c795d2ab29079854ce96332d66c7fafb4c (diff)
downloadphp-git-f10d1f8f01c2b447ab7974a1ba71be51d98ad238.tar.gz
MFH
-rw-r--r--ext/standard/tests/time/002.phpt18
1 files changed, 10 insertions, 8 deletions
diff --git a/ext/standard/tests/time/002.phpt b/ext/standard/tests/time/002.phpt
index 766af4d773..57325af4c4 100644
--- a/ext/standard/tests/time/002.phpt
+++ b/ext/standard/tests/time/002.phpt
@@ -4,6 +4,8 @@ strtotime() function
--GET--
--FILE--
<?php
+ putenv("TZ=GMT");
+
echo "1999-10-13\n";
echo strtotime ("1999-10-13")."\n";
echo strtotime ("Oct 13 1999")."\n\n";
@@ -23,18 +25,18 @@ strtotime() function
?>
--EXPECT--
1999-10-13
-939765600
-939765600
+939772800
+939772800
2000-01-19
-948236400
-948236400
+948240000
+948240000
2001-12-21
-1008889200
-1008889200
+1008892800
+1008892800
2001-12-21 12:16
-1008933360
-1008933360
+1008936960
+1008936960
-1