[php-src] PR #19815: Fix bzopen() stream mode validation
| From: | iluuu1994 | Date: | Fri, 12 Sep 2025 12:16:16 +0000 |
| Subject: | [php-src] PR #19815: Fix bzopen() stream mode validation | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33205@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19815
Author: iluuu1994
The previous conditions were unreadable and incorrect. Extract the primary mode first, then compare
it to the allowed values.
Fixes GH-19810