projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fixup tests
[m6w6/ext-http]
/
tests
/
stream_filters_001.phpt
diff --git
a/tests/stream_filters_001.phpt
b/tests/stream_filters_001.phpt
index fe28774473a2526161359b9b90a332232373c453..73fd5677cec933500e2b9327f4fd3e3f8bd33110 100644
(file)
--- a/
tests/stream_filters_001.phpt
+++ b/
tests/stream_filters_001.phpt
@@
-3,6
+3,7
@@
stream filters
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
+checkmin(5);
?>
--FILE--
<?php
?>
--FILE--
<?php
@@
-23,17
+24,21
@@
var_dump(file_get_contents(F));
$f = fopen(F, 'r');
stream_filter_append($f, 'http.chunked_decode');
var_dump(fread($f, 256));
$f = fopen(F, 'r');
stream_filter_append($f, 'http.chunked_decode');
var_dump(fread($f, 256));
+fclose($f);
+unlink(F);
echo "Done\n";
echo "Done\n";
+?>
--EXPECTF--
%sTEST
--EXPECTF--
%sTEST
-string(
27
) "5
+string(
30
) "5
Here
2
we
5
go!
Here
2
we
5
go!
+0
"
string(12) "Here we go!
"
"
string(12) "Here we go!
"