summaryrefslogtreecommitdiff
path: root/ext/date/tests/default-timezone-1.phpt
blob: 6435f85c4298d5484baf9da10c402f6a8b1ec55c (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
date.timezone setting [1]
--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");
?>
--EXPECT--
1119132944