Doc #74197 [Csd]: PharData::decompress() doc inconsistensies
Edit report at https://bugs.php.net/bug.php?id=74197&edit=1
ID: 74197
User updated by: samuel dot chemla at orange dot com
Reported by: samuel dot chemla at orange dot com
Summary: PharData::decompress() doc inconsistensies
Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: peehaa
Block user comment: N
Private report: N
New Comment:
Thanks ;-)
Previous Comments:
------------------------------------------------------------------------
[2017-03-13 19:00:10] peehaa@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
------------------------------------------------------------------------
[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)