1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/date/tests/bug28024.phpt
2020-02-03 22:52:20 +01:00

13 lines
263 B
PHP

--TEST--
Bug #28024 (Changed behavior of strtotime())
--INI--
date.timezone=Europe/Berlin
--FILE--
<?php
echo strtotime("17:00 2004-01-01"), "\n";
echo date("Y-m-d H:i:s T", strtotime("17:00 2004-01-01"));
?>
--EXPECT--
1072972800
2004-01-01 17:00:00 CET