2 http_date() without timestamp
5 extension_loaded('http') or die('ext/http not available');
6 strncasecmp(PHP_SAPI, 'CLI', 3) or die('cannot run tests with CLI');
12 var_dump($d1 === $d2);
13 echo strtotime($d1), "\n$d1\n$d2\n";
16 Content-type: text/html
21 %s, %d %s %d %d:%d:%d GMT
22 %s, %d %s %d %d:%d:%d GMT