Skip to content

streams: _php_stream_open_wrapper_ex() refactor#22839

Open
Girgias wants to merge 3 commits into
php:masterfrom
Girgias:2026-07-stream-opener-refactor
Open

streams: _php_stream_open_wrapper_ex() refactor#22839
Girgias wants to merge 3 commits into
php:masterfrom
Girgias:2026-07-stream-opener-refactor

Conversation

@Girgias

@Girgias Girgias commented Jul 20, 2026

Copy link
Copy Markdown
Member

Equivalent of #22836 for _php_stream_open_wrapper_ex().

The motivation is make the code more legible and the execution flow clearer.
Use the newer stream error APIs.

And in the future hopefully let the wrapper hook handle the REPORT_ERROR option directly rather than negating the flag. As currently if the wrapper hook emits errors and returns a stream, those errors are suppressed.

@Girgias Girgias changed the title 2026 07 stream opener refactor streams: _php_stream_open_wrapper_ex() refactor Jul 20, 2026
@Girgias
Girgias force-pushed the 2026-07-stream-opener-refactor branch 2 times, most recently from 898a212 to df2a7ae Compare July 20, 2026 23:44
@Girgias
Girgias force-pushed the 2026-07-stream-opener-refactor branch from df2a7ae to bc59e65 Compare July 21, 2026 12:15
@Girgias
Girgias force-pushed the 2026-07-stream-opener-refactor branch from bc59e65 to 0d530e5 Compare July 21, 2026 12:19
@Girgias
Girgias marked this pull request as ready for review July 21, 2026 13:37
@Girgias
Girgias requested a review from bukka as a code owner July 21, 2026 13:37
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