mirror of
https://github.com/php/php-src.git
synced 2024-12-12 03:15:29 +08:00
- Make sure the already set "TZ" environment doesn't mess up the tests.
This commit is contained in:
parent
21e17d7ec0
commit
aa202a7e93
@ -4,6 +4,7 @@ date.timezone setting [1]
|
||||
date.timezone=GMT
|
||||
--FILE--
|
||||
<?php
|
||||
putenv('TZ'); // clean TZ so that it doesn't bypass the ini option
|
||||
echo strtotime("2005-06-18 22:15:44");
|
||||
?>
|
||||
--EXPECT--
|
||||
|
@ -4,6 +4,7 @@ date.timezone setting [2]
|
||||
date.timezone=Europe/Oslo
|
||||
--FILE--
|
||||
<?php
|
||||
putenv('TZ'); // clean TZ so that it doesn't bypass the ini option
|
||||
echo strtotime("2005-06-18 22:15:44");
|
||||
?>
|
||||
--EXPECT--
|
||||
|
Loading…
Reference in New Issue
Block a user