[php-src] PHP-8.5: Merge branch 'PHP-8.4' into PHP-8.5
| From: | Ilia Alshanetsky | Date: | Fri, 06 Nov 2026 23:26:27 +0000 |
| Subject: | [php-src] PHP-8.5: Merge branch 'PHP-8.4' into PHP-8.5 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143374@lists.php.net to get a copy of this message | ||
Author: Ilia Alshanetsky (iliaal)
Date: 2026-11-06T18:24:37-05:00
Commit: https://github.com/php/php-src/commit/7fcbc47737f57738f365a5612a5f41fa5d6bca5b
Raw diff: https://github.com/php/php-src/commit/7fcbc47737f57738f365a5612a5f41fa5d6bca5b.diff
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
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