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