projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
c2b4f03
)
Minor fix to avoid future mysterious failed test headaches. I don't really
author
Rasmus Lerdorf
<rasmus@php.net>
Mon, 2 May 2005 21:49:08 +0000
(21:49 +0000)
committer
Rasmus Lerdorf
<rasmus@php.net>
Mon, 2 May 2005 21:49:08 +0000
(21:49 +0000)
understand the point of this test in the first place, but I figured I
should fix the obvious bug.
tests/date_002.phpt
patch
|
blob
|
history
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";
?>