- fix PHP4 build (has no only_exceptions INI setting
[m6w6/ext-http] / tests / date_001.phpt
1 --TEST--
2 http_date() with timestamp
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 ?>
7 --FILE--
8 <?php
9 echo "-TEST\n";
10 echo http_date(1), "\n";
11 echo http_date(1234567890), "\n";
12 ?>
13 --EXPECTF--
14 %sTEST
15 Thu, 01 Jan 1970 00:00:01 GMT
16 Fri, 13 Feb 2009 23:31:30 GMT
17