projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
-fix installation through pear
[m6w6/ext-http]
/
tests
/
date_002.phpt
diff --git
a/tests/date_002.phpt
b/tests/date_002.phpt
index 9fdb15e84db963cbe91d38298a5a0e53cc5797cb..98ab785b0b7148b0d53ffcea2bcbd2c7875604cd 100644
(file)
--- a/
tests/date_002.phpt
+++ b/
tests/date_002.phpt
@@
-1,11
+1,12
@@
--TEST--
http_date() without timestamp
--SKIPIF--
--TEST--
http_date() without timestamp
--SKIPIF--
-<?php
+<?php
include 'skip.inc';
?>
--FILE--
<?php
include 'skip.inc';
?>
--FILE--
<?php
+echo "-TEST\n";
$t = time();
$d1 = http_date($t);
$d2 = http_date($t);
$t = time();
$d1 = http_date($t);
$d2 = http_date($t);
@@
-13,7
+14,9
@@
var_dump($d1 === $d2);
echo strtotime($d1), "\n$d1\n$d2\n";
?>
--EXPECTF--
echo strtotime($d1), "\n$d1\n$d2\n";
?>
--EXPECTF--
-%sbool(true)
+%sTEST
+bool(true)
%d
%s, %d %s %d %d:%d:%d GMT
%s, %d %s %d %d:%d:%d GMT
%d
%s, %d %s %d %d:%d:%d GMT
%s, %d %s %d %d:%d:%d GMT
+