mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
- Added testcase for bug #28024.
This commit is contained in:
parent
9f2283b8a0
commit
c2b34e208a
1 changed files with 11 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue