xref: /PHP-7.1/ext/date/tests/bug74080.phpt (revision 618d9796)
1--TEST--
2Bug #74080 Provide an RFC7231 date time format
3--FILE--
4<?php
5
6$date = mktime(17, 52, 13, 4, 30, 2016);
7var_dump(date(\DateTime::RFC7231, $date));
8
9?>
10--EXPECTF--
11string(29) "Sat, 30 Apr 2016 17:52:13 GMT"
12