mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
- MFH: use date.timezone ini setting instead of ENV
This commit is contained in:
parent
8c6ea95dc3
commit
a9b8b3698b
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user