[GIT-PULLS] [php-src] PR #22839: 2026 07 stream opener refactor
[email protected] (Girgias) Mon, 20 Jul 2026 21:36:38 +0000
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/22839 Author: Girgias Equivalent of #22836 for `_php_stream_open_wrapper_ex()`. The motivation is make the code more legible and make 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.