xref: /PHP-8.0/ext/date/tests/bug74080.phpt (revision ded3d984)
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--EXPECT--
11string(29) "Sat, 30 Apr 2016 17:52:13 GMT"
12