[php-src] PR #11483: fix file() flags error-check
| From: | divinity76 | Date: | Mon, 19 Jun 2023 17:00:37 +0000 |
| Subject: | [php-src] PR #11483: fix file() flags error-check | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22762@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11483
Author: divinity76
the old flag check was flawed and would miss some flags, for example: file(__FILE__, FILE_APPEND);
is invalid, but the old flags error check would miss it: https://3v4l.org/b2W9u