[php-src] Issue #7976: is_readable() not working on files inside phar
| From: | petitj | Date: | Thu, 20 Jan 2022 14:11:57 +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-239147@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7976
Comment Author: petitj
> You need to use a phar wrapper:
>
> ```
> var_dump(is_readable('phar://path/to/archive.phar/index.php'));
> ```
Sorry, that's what was i was actually using. Error in the bug report that i just fixed. The bug
is still there. Please look at the more detailed example and re-open it :)