bug51934.phpt 331 B

123456789101112
  1. --TEST--
  2. Bug #51934 (strtotime plurals / incorrect time)
  3. --FILE--
  4. <?php
  5. date_default_timezone_set('America/Los_Angeles');
  6. echo date("Y-m-d H:i:s", strtotime("2010-05-27 19:18 4 Sunday ago")), "\n";
  7. echo date("Y-m-d H:i:s", strtotime("2010-05-27 19:18 4 Sundays ago")), "\n";
  8. ?>
  9. --EXPECTF--
  10. 2010-05-02 19:18:00
  11. 2010-05-02 19:18:00