bug67109.phpt 362 B

1234567891011121314
  1. --TEST--
  2. Bug #67109 (First uppercase letter breaks date string parsing)
  3. --INI--
  4. date.timezone=UTC
  5. --FILE--
  6. <?php
  7. var_dump(date('d.m.Y',strtotime('last day of april')));
  8. var_dump(date('d.m.Y',strtotime('Last day of april')));
  9. var_dump(date('d.m.Y',strtotime('lAst Day of April')));
  10. ?>
  11. --EXPECTF--
  12. string(10) "30.04.%d"
  13. string(10) "30.04.%d"
  14. string(10) "30.04.%d"