Skip to content

streams: refactor _php_stream_opendir()#22836

Open
Girgias wants to merge 2 commits into
php:masterfrom
Girgias:2026-07-stream_dir_opener-refactor
Open

streams: refactor _php_stream_opendir()#22836
Girgias wants to merge 2 commits into
php:masterfrom
Girgias:2026-07-stream_dir_opener-refactor

Conversation

@Girgias

@Girgias Girgias commented Jul 20, 2026

Copy link
Copy Markdown
Member

The motivation is make the code more legible, use the newer stream error APIs, and let the wrapper hook handle the REPORT_ERROR option in a way it decides in the future. As currently if the wrapper emits errors and returns a stream, those errors are suppressed.

@Girgias
Girgias force-pushed the 2026-07-stream_dir_opener-refactor branch from 723a653 to 44ec5a6 Compare July 21, 2026 00:11
@Girgias
Girgias force-pushed the 2026-07-stream_dir_opener-refactor branch from 44ec5a6 to 721eaf4 Compare July 21, 2026 11:40
@Girgias
Girgias marked this pull request as ready for review July 21, 2026 12:30
@Girgias
Girgias requested a review from bukka as a code owner July 21, 2026 12:30
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