|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #60971 ZipArchive::open options are poorly documented.
Submitted: 2012-02-03 16:54 UTC Modified: 2015-06-15 18:19 UTC
From: simon dot champion at connectionservices dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
 [2012-02-03 16:54 UTC] simon dot champion at connectionservices dot com
From manual page:

From the current documentation:

The mode to use to open the archive.





This is a good start. However, these options need further documentation. It is unclear which option(s) to pick in various situations. The comments on the page provide some clarification but not enough, and it is clear that a number of people are struggling with it.

Test script:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-18 15:59 UTC]
-Status: Open +Status: Verified
 [2015-06-15 11:52 UTC]
-Assigned To: +Assigned To: cmb
 [2015-06-15 11:57 UTC]
Automatic comment from SVN on behalf of cmb
Log: linked $flags constants to their definition (fixes #60971)
 [2015-06-15 18:19 UTC]
-Status: Verified +Status: Closed
 [2015-06-15 18:19 UTC]
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.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Jun 06 20:03:36 2023 UTC