- MFH: use date.timezone ini setting instead of ENV

This commit is contained in:
Pierre Joye 2008-08-21 18:33:21 +00:00
parent 8c6ea95dc3
commit a9b8b3698b

View File

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