]> granicus.if.org Git - php/commitdiff
- use date.timezone ini setting instead of ENV
authorPierre Joye <pajoye@php.net>
Thu, 21 Aug 2008 18:33:06 +0000 (18:33 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 21 Aug 2008 18:33:06 +0000 (18:33 +0000)
ext/standard/tests/time/idate.phpt

index 485f9804af74f0a08b23684a46e07e6c9bf280ad..c087e1a6b88c7f876c5fe1c5929701e79ed9784d 100644 (file)
@@ -1,9 +1,9 @@
 --TEST--
 idate() function
+--INI--
+date.timezone=GMT0
 --FILE--
 <?php
-putenv ("TZ=GMT0");
-
 $tmp = "UYzymndjHGhgistwLBIW";
 for($a = 0;$a < strlen($tmp); $a++){
        echo $tmp{$a}, ': ', idate($tmp{$a}, 1043324459)."\n";