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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 02:01:28 2025 UTC