Skip to content

Fix GH-19705: do not flush/write buffer on non writeable stream.#19708

Closed
devnexen wants to merge 3 commits intophp:PHP-8.3from
devnexen:gh19705
Closed

Fix GH-19705: do not flush/write buffer on non writeable stream.#19708
devnexen wants to merge 3 commits intophp:PHP-8.3from
devnexen:gh19705

Conversation

@devnexen
Copy link
Copy Markdown
Member

@devnexen devnexen commented Sep 4, 2025

No description provided.

@devnexen devnexen marked this pull request as ready for review September 4, 2025 18:26
@devnexen devnexen requested a review from bukka as a code owner September 4, 2025 18:26
@devnexen
Copy link
Copy Markdown
Member Author

ping :)

@devnexen devnexen requested a review from Girgias September 17, 2025 12:02
Copy link
Copy Markdown
Member

@bukka bukka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The approach was good in general - just not emitting warning is more consistent IMO - there is really no point to warn here because it's just a buffered rubbish from the filter so it can be safely ignored.

Comment thread ext/standard/tests/streams/gh19705.phpt Outdated
Comment thread ext/standard/tests/streams/gh19705.phpt Outdated
Comment thread main/streams/streams.c Outdated
Copy link
Copy Markdown
Member

@bukka bukka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now.

You might consider to add me with Co-authored-by considering that it's pretty much just what I added in suggestions... :)

@devnexen devnexen closed this in 175afc4 Oct 2, 2025
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.

2 participants