[php-src] Issue #8469: Phar Class decompressFiles() bad in PHP 7.4 and 8.x branches
| From: | cmb69 | Date: | Mon, 02 May 2022 09:50:55 +0000 |
| Subject: | [php-src] Issue #8469: Phar Class decompressFiles() bad in PHP 7.4 and 8.x branches | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241369@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8469
Comment Author: cmb69
Thanks for reporting! I can reproduce the reported behavior (funnily, the given code is basically
the same as the [example given for
Phar::decompressFiles()](https://www.php.net/manual/en/phar.decompressfiles.php#refsect1-phar.decompressfiles-examples),
but apparently that never worked properly).
> Since there is no 'isCompressed()' function it should cause an exception.
There is PharData::isCompressed(); it is just not documented (like 25 other methods of
PharData).