X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fenvresponse016.phpt;h=8d48c9374276e812b3aa65eab3688aa0c76efe10;hp=67595b42896a6cc3a47a3873f66248baf6abb8c9;hb=HEAD;hpb=c8476df58018aecebc7720b784cf454b6eb6dbae diff --git a/tests/envresponse016.phpt b/tests/envresponse016.phpt index 67595b4..3476216 100644 --- a/tests/envresponse016.phpt +++ b/tests/envresponse016.phpt @@ -10,7 +10,7 @@ include "skipif.inc"; 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); } @@ -29,6 +29,7 @@ var_dump($r->send($s)); DONE --EXPECTF-- Test + Warning: http\Env\Response::send(): Failed to send response body in %s on line %d bool(false) DONE