xref: /PHP-5.6/ext/date/tests/bug37616.phpt (revision 9a9cd86f)
1--TEST--
2Bug #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--
9string(29) "Sat, 01 Jul 06 14:27:30 +0200"
10