bug28088.phpt 514 B

1234567891011121314151617
  1. --TEST--
  2. Bug #28088 (strtotime() cannot convert 00 hours")
  3. --INI--
  4. date.timezone=UTC
  5. --FILE--
  6. <?php
  7. echo "The following line rightly shows the correct date time:\n";
  8. echo gmdate("m/d/y Hi", strtotime("04/04/04 2345")), "\n";
  9. echo "But the following line fails to show the correct date time:\n";
  10. echo gmdate("m/d/y Hi", strtotime("04/04/04 0045"))."\r\n";
  11. ?>
  12. --EXPECT--
  13. The following line rightly shows the correct date time:
  14. 04/04/04 2345
  15. But the following line fails to show the correct date time:
  16. 04/04/04 0045