mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
bf23d8d2b8
- Added missing proto's and folding marks.
20 lines
363 B
PHP
20 lines
363 B
PHP
--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
|