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

index f22704a7a773e648e17699c7c5f4a8e75d06488f..4b5dfe60aace87aa214d68fa835317c93327a30a 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 
+date_default_timezone_set('UTC');
 function simple() {
   $a = 0;
   for ($i = 0; $i < 1000000; $i++)