echo "Test\n";
class closer extends php_user_filter {
- function filter ($in, $out, &$consumed, $closing) {
+ function filter ($in, $out, &$consumed, $closing) : int {
while ($bucket = stream_bucket_make_writeable($in)) {
stream_bucket_append($out, $bucket);
}
DONE
--EXPECTF--
Test
+
Warning: http\Env\Response::send(): Failed to send response body in %s on line %d
bool(false)
DONE