mirror of
https://github.com/php/php-src.git
synced 2024-10-02 07:16:11 +00:00
31a3e83190
* PHP-5.3: Fixed bug #61611 ext\date\tests\date_default_timezone_get-2.phpt fails Fixed bug #61631 mbstring mail related tests fail Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails Fix bug #61609 Test ext\date\tests\bug52062.phpt fails As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php this is the generic 32 bit timestamp issue
17 lines
707 B
PHP
17 lines
707 B
PHP
--TEST--
|
|
date_default_timezone_get() function [2]
|
|
--SKIPIF--
|
|
<?php
|
|
if(substr(PHP_OS, 0, 3) == 'WIN') die("skip on windows");
|
|
?>
|
|
--INI--
|
|
date.timezone=
|
|
--FILE--
|
|
<?php
|
|
putenv('TZ=');
|
|
echo date_default_timezone_get(), "\n";
|
|
?>
|
|
--EXPECTF--
|
|
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in %sdate_default_timezone_get-2.php on line 3
|
|
UTC
|