[GIT-PULLS] [php-src] PR #22803: stream: check fopen() mode ahead of time

[email protected] (Girgias) Sun, 19 Jul 2026 14:06:09 +0000
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/22803
Author: Girgias

And change the signature of php_stream_parse_fopen_modes() to not require an out param as the failure can simply be communicated via -1 which is not a valid open flag mode.