bug33452.phpt 237 B

1234567891011
  1. --TEST--
  2. Bug #33452 (Support for year accompanying ISO week nr)
  3. --FILE--
  4. <?php
  5. date_default_timezone_set("GMT");
  6. echo date('Y-W', strtotime('2005-1-1')), "\n";
  7. echo date('o-W', strtotime('2005-1-1')), "\n";
  8. ?>
  9. --EXPECT--
  10. 2005-53
  11. 2004-53