mirror of
https://github.com/php/php-src.git
synced 2024-10-04 00:06:16 +00:00
60d195dc44
Please keep them consistent and only change them if you are 110% certain what you're doing. Otherwise -> please ask.
18 lines
514 B
PHP
18 lines
514 B
PHP
--TEST--
|
|
Bug #28088 (strtotime() cannot convert 00 hours")
|
|
--INI--
|
|
date.timezone=UTC
|
|
--FILE--
|
|
<?php
|
|
echo "The following line rightly shows the correct date time:\n";
|
|
echo gmdate("m/d/y Hi", strtotime("04/04/04 2345")), "\n";
|
|
|
|
echo "But the following line fails to show the correct date time:\n";
|
|
echo gmdate("m/d/y Hi", strtotime("04/04/04 0045"))."\r\n";
|
|
?>
|
|
--EXPECT--
|
|
The following line rightly shows the correct date time:
|
|
04/04/04 2345
|
|
But the following line fails to show the correct date time:
|
|
04/04/04 0045
|