[php-src] Issue #7976: is_readable() not working on files inside phar
| From: | petitj | Date: | Thu, 20 Jan 2022 14:57:48 +0000 |
| Subject: | [php-src] Issue #7976: is_readable() not working on files inside phar | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239150@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7976
Comment Author: petitj
is_readable() with the proper phar URL should return **true**. Not false. So it seems it is also a
problem on windows.
file_exists('index.php') is executed in the context of the phar so true is the expected
result.