projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- update
[m6w6/ext-http]
/
tests
/
date_002.phpt
1
--TEST--
2
http_date() without timestamp
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
?>
7
--FILE--
8
<?php
9
$d1 = http_date();
10
$d2 = http_date();
11
var_dump($d1 === $d2);
12
echo strtotime($d1), "\n$d1\n$d2\n";
13
?>
14
--EXPECTF--
15
Content-type: text/html
16
X-Powered-By: PHP/%s
17
18
bool(true)
19
%d
20
%s, %d %s %d %d:%d:%d GMT
21
%s, %d %s %d %d:%d:%d GMT