[php-src] Issue #7976: is_readable() not working on files inside phar
| From: | cmb69 | Date: | Thu, 20 Jan 2022 14:07:27 +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-239145@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7976
Comment Author: cmb69
You need to use a phar wrapper:
````php
var_dump(is_readable('phar://path/to/archive.phar/index.php'));
````