[php-src] PR #22839: 2026 07 stream opener refactor
| From: | Girgias | Date: | Mon, 20 Jul 2026 21:36:38 +0000 |
| Subject: | [php-src] PR #22839: 2026 07 stream opener refactor | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37212@lists.php.net to get a copy of this message | ||
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.