bug37616.phpt 254 B

123456789
  1. --TEST--
  2. Bug #37616 (DATE_RFC822 does not product RFC 822 dates)
  3. --FILE--
  4. <?php
  5. date_default_timezone_set("Europe/Oslo");
  6. var_dump(date(DATE_RFC822, strtotime("1 Jul 06 14:27:30 +0200")));
  7. ?>
  8. --EXPECT--
  9. string(29) "Sat, 01 Jul 06 14:27:30 +0200"