blob: 147b10a8236c86c68b48e96796976d02ffbb3d74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--TEST--
timezone configuration [1]
--INI--
date.timezone=GMT
--FILE--
<?php
putenv('TZ=Europe/Oslo');
echo strtotime("2005-06-18 22:15:44"), "\n";
putenv('TZ=Europe/London');
echo strtotime("2005-06-18 22:15:44"), "\n";
date_default_timezone_set('Europe/Oslo');
echo strtotime("2005-06-18 22:15:44"), "\n";
?>
--EXPECT--
1119125744
1119129344
1119125744
|