Doc #74197 [Opn->Ver]: PharData::decompress() doc inconsistensies
Edit report at https://bugs.php.net/bug.php?id=74197&edit=1
ID: 74197
Updated by: peehaa@php.net
Reported by: samuel dot chemla at orange dot com
Summary: PharData::decompress() doc inconsistensies
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: peehaa
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2017-03-02 10:35:58] samuel dot chemla at orange dot com
Description:
------------
http://php.net/manual/en/phardata.decompress.php
Doc says, in Description section:
"In addition, this method automatically renames the file extension of the archive, .tar by
default. Alternatively, a file extension may be specified with the second parameter. "
and then, in Parameters section:
"For decompressing, the default file extension is .phar.tar. Use this parameter to specify
another file extension. Be aware that no non-executable archives cannot contain .phar in their
filename."
- In the end it is unclear if default extension is .phar.tar or .tar...
- Also, 'no non-executable ... cannot' is quite incomprehensible
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74197&edit=1
Thread (4 messages)