projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- save some time by reversing on the message level
[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
echo "-TEST\n";
10
ini_set('date.timezone', 'GMT');
11
$d = http_date();
12
$t = strtotime($d);
13
var_dump($t > 1);
14
echo "$t\n$d\nDone\n";
15
?>
16
--EXPECTF--
17
%sTEST
18
bool(true)
19
%d
20
%s, %d %s %d %d:%d:%d GMT
21
Done