mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
- Added testcase for bug #28024.
This commit is contained in:
parent
9f2283b8a0
commit
c2b34e208a
11
ext/date/tests/bug28024.phpt
Normal file
11
ext/date/tests/bug28024.phpt
Normal file
@ -0,0 +1,11 @@
|
||||
--TEST--
|
||||
Bug #28024 (Changed behavior of strtotime())
|
||||
--FILE--
|
||||
<?php
|
||||
putenv("TZ=Europe/Berlin");
|
||||
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
|
Loading…
Reference in New Issue
Block a user