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