note 116482 rejected from phardata.construct by cmb
| From: | cmb@php.net | Date: | Thu, 26 Nov 2020 11:43:06 +0000 |
| Subject: | note 116482 rejected from phardata.construct by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215896@lists.php.net to get a copy of this message | ||
Note Submitter: andkirby at gmail dot com
----
There is a big problem!
It doesn't work but in console (tar -xvzf packagename.tar.gz) the file was unpacked!
$ php -r "new \PharData('d:/Downloads/commithook-master.tar.gz');"
PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar
error: "D:\Downloads\commithook-master.tar.gz" is a corrupted tar file (checksum mismatch
of file "52 comment=4d08b1e311f074f7281c0f1c21912776ac51394b
")' in Command line code:1
Stack trace:
#0 Command line code(1): PharData->__construct('d:/Downloads/co...')
#1 {main}
thrown in Command line code on line 1