[php-src] PR #22803: stream: check fopen() mode ahead of time
| From: | Girgias | Date: | Sun, 19 Jul 2026 14:06:09 +0000 |
| Subject: | [php-src] PR #22803: stream: check fopen() mode ahead of time | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37149@lists.php.net to get a copy of this message | ||
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.