Skip to content

Fix zlib.inflate test expectation after GH-22063 - #25256

Closed
localzet wants to merge 1 commit into
php:PHP-8.4from
localzet:test/gh22063-zlib-filter-removal
Closed

localzet wants to merge 1 commit into
php:PHP-8.4from
localzet:test/gh22063-zlib-filter-removal

Conversation

@localzet

@localzet localzet commented Nov 6, 2026

Copy link
Copy Markdown

GH-22063 prevents stream_filter_remove() from modifying a filter chain while it is being applied, rejecting removal with a warning instead. The pre-existing zlib.inflate regression test still expects successful filter removal from inside its error handler, so it now fails across multiple CI platforms on the unmodified PHP-8.4 branch.

Update the expected output to assert the new warning and false result. Only the PHPT test is changed; this does not alter runtime behavior.

Follow-up to #22083.

phpGH-22063 prevents stream_filter_remove() from modifying a filter chain
while it is being applied, rejecting removal with a warning instead.
The pre-existing zlib.inflate regression test still expects successful
filter removal from inside its error handler, so it now fails across
multiple CI platforms on the unmodified PHP-8.4 branch.

Update the expected output to assert the new warning and false result.
Only the PHPT test is changed; this does not alter runtime behavior.

Follow-up to php#22083.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant