summaryrefslogtreecommitdiff
path: root/Zend/bench.php
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2009-07-13 23:56:38 +0000
committerDavid Soria Parra <dsp@php.net>2009-07-13 23:56:38 +0000
commit0391dea5be56fe6ab05d5059d389de6489c37d2b (patch)
treeea89a24e53405b7534b224fee3734dcdc393ea27 /Zend/bench.php
parent81461c78ef7c62fd7531e71bd17537939f71b595 (diff)
downloadphp-git-0391dea5be56fe6ab05d5059d389de6489c37d2b.tar.gz
MFH: Fix date warning by setting the default timezone to UTC
Diffstat (limited to 'Zend/bench.php')
-rw-r--r--Zend/bench.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/bench.php b/Zend/bench.php
index 5f771803cc..42b333fceb 100644
--- a/Zend/bench.php
+++ b/Zend/bench.php
@@ -3,6 +3,7 @@ if (function_exists("date_default_timezone_set")) {
date_default_timezone_set("UTC");
}
+date_default_timezone_set('UTC');
function simple() {
$a = 0;
for ($i = 0; $i < 1000000; $i++)