projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- dynamically register request method constants
[m6w6/ext-http]
/
tests
/
date_002.phpt
diff --git
a/tests/date_002.phpt
b/tests/date_002.phpt
index 3bcafac076c51e937eb084467918d8aed97851ea..3f00520b15c53e167ad4f91778348bf192687c69 100644
(file)
--- a/
tests/date_002.phpt
+++ b/
tests/date_002.phpt
@@
-6,8
+6,9
@@
include 'skip.inc';
?>
--FILE--
<?php
-$d1 = http_date();
-$d2 = http_date();
+$t = time();
+$d1 = http_date($t);
+$d2 = http_date($t);
var_dump($d1 === $d2);
echo strtotime($d1), "\n$d1\n$d2\n";
?>