bug74080.phpt 214 B

1234567891011
  1. --TEST--
  2. Bug #74080 Provide an RFC7231 date time format
  3. --FILE--
  4. <?php
  5. $date = mktime(17, 52, 13, 4, 30, 2016);
  6. var_dump(date(\DateTime::RFC7231, $date));
  7. ?>
  8. --EXPECT--
  9. string(29) "Sat, 30 Apr 2016 17:52:13 GMT"