blob: 3e0399adbed3be6009a8628ed52df9b5c32dcedc (
plain)
1
2
3
4
5
6
7
8
9
10
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
|