mirror of
https://github.com/php/php-src.git
synced 2024-12-11 19:04:38 +08:00
11 lines
218 B
PHP
11 lines
218 B
PHP
--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
|