Annotation of embedaddon/php/ext/date/tests/timezone-configuration.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: timezone configuration [1]
3: --INI--
4: date.timezone=GMT
5: --FILE--
6: <?php
7: date_default_timezone_set('Europe/Oslo');
8: echo strtotime("2005-06-18 22:15:44"), "\n";
9:
10: date_default_timezone_set('Europe/London');
11: echo strtotime("2005-06-18 22:15:44"), "\n";
12:
13: date_default_timezone_set('Europe/Oslo');
14: echo strtotime("2005-06-18 22:15:44"), "\n";
15: ?>
16: --EXPECT--
17: 1119125744
18: 1119129344
19: 1119125744
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>