bug43075.phpt 199 B

12345678910
  1. --TEST--
  2. Bug #43075 (Support 24 as hour)
  3. --FILE--
  4. <?php
  5. date_default_timezone_set('UTC');
  6. $d = date_create("2007-11-01T24:34:00+00:00");
  7. echo $d->format("c");
  8. ?>
  9. --EXPECT--
  10. 2007-11-02T00:34:00+00:00