--SKIPIF--
<?php
include 'skip.inc';
+checkmin("5.2.5");
?>
--FILE--
<?php
$f = fopen(F, 'r');
stream_filter_append($f, 'http.chunked_decode');
var_dump(fread($f, 256));
+fclose($f);
+unlink(F);
echo "Done\n";
+?>
--EXPECTF--
-%sTEST
-string(27) "5
+%aTEST
+string(30) "5
Here
2
we
5
go!
+0
"
string(12) "Here we go!
"