suppress new PHP-7.4 notice about failed stream_write
[m6w6/ext-http] / tests / messagebody003.phpt
index 8444cbf..52968ac 100644 (file)
@@ -10,7 +10,7 @@ echo "Test\n";
 
 $file = new http\Message\Body(fopen(__FILE__, "r"));
 try {
-       $file->append("nope");
+       @$file->append("nope");
 } catch (Exception $e) {
        echo $e, "\n";
 }