summaryrefslogtreecommitdiff
path: root/ext/date/tests/date_default_timezone_get-2.phpt
blob: 44d94cd76f2a3fa017038ac0193583d070a4c7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
date_default_timezone_get() function [2]
--SKIPIF--
<?php
    if(substr(PHP_OS, 0, 3) == 'WIN') die("skip on windows");
?>
--INI--
date.timezone=
--FILE--
<?php
    putenv('TZ=');
    echo date_default_timezone_get(), "\n";
?>
--EXPECT--
UTC