diff options
Diffstat (limited to 'ext/date/tests/default-timezone-1.phpt')
-rw-r--r-- | ext/date/tests/default-timezone-1.phpt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/date/tests/default-timezone-1.phpt b/ext/date/tests/default-timezone-1.phpt index ea5f2e6b84..a53d370afb 100644 --- a/ext/date/tests/default-timezone-1.phpt +++ b/ext/date/tests/default-timezone-1.phpt @@ -1,9 +1,8 @@ --TEST-- date.timezone setting [1] ---INI-- -date.timezone=GMT --FILE-- <?php +date_default_timezone_set('GMT'); putenv('TZ='); // clean TZ so that it doesn't bypass the ini option echo strtotime("2005-06-18 22:15:44"); ?> |