projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- Bring the majority of PECL extensions into line with macro/x.x.x versioning.
[m6w6/ext-http]
/
tests
/
date_002.phpt
diff --git
a/tests/date_002.phpt
b/tests/date_002.phpt
index bf89a5116abc90638c49727b8e1022937fdf1f6e..aeb120555c9e3c03af9fa7df703c7b401d560ffc 100644
(file)
--- a/
tests/date_002.phpt
+++ b/
tests/date_002.phpt
@@
-7,14
+7,15
@@
include 'skip.inc';
--FILE--
<?php
echo "-TEST\n";
--FILE--
<?php
echo "-TEST\n";
+ini_set('date.timezone', 'GMT');
$d = http_date();
$t = strtotime($d);
var_dump($t > 1);
echo "$t\n$d\nDone\n";
?>
--EXPECTF--
$d = http_date();
$t = strtotime($d);
var_dump($t > 1);
echo "$t\n$d\nDone\n";
?>
--EXPECTF--
-%
s
TEST
+%
a
TEST
bool(true)
%d
bool(true)
%d
-%
s, %d %s
%d %d:%d:%d GMT
+%
a, %d %a
%d %d:%d:%d GMT
Done
Done