php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74197 PharData::decompress() doc inconsistensies
Submitted: 2017-03-02 10:35 UTC Modified: 2017-03-14 18:03 UTC
From: samuel dot chemla at orange dot com Assigned: peehaa (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: samuel dot chemla at orange dot com
New email:
PHP Version: OS:

 

 [2017-03-02 10:35 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-03-13 15:28 UTC] peehaa@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: peehaa
 [2017-03-13 19:00 UTC] peehaa@php.net
-Status: Verified +Status: Closed
 [2017-03-13 19:00 UTC] 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-14 18:03 UTC] samuel dot chemla at orange dot com
Thanks ;-)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Mar 16 19:01:29 2025 UTC