projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- changelog, new test files
[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
$d = http_date();
13
$t = strtotime($d);
14
var_dump($t > 1);
15
echo "$t\n$d\nDone\n";
16
?>
17
--EXPECTF--
18
%sTEST
19
bool(true)
20
%d
21
%s, %d %s %d %d:%d:%d GMT
22
Done