summaryrefslogtreecommitdiff
path: root/ext/date/tests/default-timezone-2.phpt
blob: 722334038896851294600409cc006fd56243efe2 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
date.timezone setting [2]
--FILE--
<?php
date_default_timezone_set('Europe/Oslo');
    putenv('TZ='); // clean TZ so that it doesn't bypass the ini option
    echo strtotime("2005-06-18 22:15:44");
?>
--EXPECT--
1119125744