[php-src] master: Merge branch 'PHP-8.6'
| From: | Ilia Alshanetsky | Date: | Fri, 06 Nov 2026 23:26:30 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.6' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143376@lists.php.net to get a copy of this message | ||
Author: Ilia Alshanetsky (iliaal)
Date: 2026-11-06T18:24:39-05:00
Commit: https://github.com/php/php-src/commit/009c2a116f54dd6b908d65508037bbaf810f312e
Raw diff: https://github.com/php/php-src/commit/009c2a116f54dd6b908d65508037bbaf810f312e.diff
Merge branch 'PHP-8.6'
* PHP-8.6:
ext/zlib: Expect denied filter removal in error handler test
Changed paths:
M ext/zlib/tests/zlib_filter_inflate_error_handler_removes_filter.phpt
Diff:
diff --git a/ext/zlib/tests/zlib_filter_inflate_error_handler_removes_filter.phpt
b/ext/zlib/tests/zlib_filter_inflate_error_handler_removes_filter.phpt
index ee5bab1052fc..d1ef98783b64 100644
--- a/ext/zlib/tests/zlib_filter_inflate_error_handler_removes_filter.phpt
+++ b/ext/zlib/tests/zlib_filter_inflate_error_handler_removes_filter.phpt
@@ -20,11 +20,15 @@ $filter = stream_filter_append($fp, 'zlib.inflate',
STREAM_FILTER_READ);
var_dump(fread($fp, 10));
echo "Done\n";
?>
---EXPECT--
+--EXPECTF--
fwrite(): zlib: data error
-bool(true)
+
+Warning: stream_filter_remove(): Cannot remove filter while it is being applied in %s on line %d
+bool(false)
bool(false)
fread(): zlib: data error
-bool(true)
+
+Warning: stream_filter_remove(): Cannot remove filter while it is being applied in %s on line %d
+bool(false)
bool(false)
Done