php-src/ext/date/tests/default-timezone-1.phpt
2020-02-03 22:52:20 +01:00

11 lines
224 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