]> granicus.if.org Git - php/commitdiff
MFH: Fix date warning by setting the default timezone to UTC
authorDavid Soria Parra <dsp@php.net>
Mon, 13 Jul 2009 23:56:38 +0000 (23:56 +0000)
committerDavid Soria Parra <dsp@php.net>
Mon, 13 Jul 2009 23:56:38 +0000 (23:56 +0000)
Zend/bench.php

index 5f771803ccca3e461edbee2c9f45573fd3ce2493..42b333fceb175186226510e6589249ce42fa2ab6 100644 (file)
@@ -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++)