php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: simon dot champion at connectionservices dot com
New email:
PHP Version: OS:

 

 [2012-02-03 16:54 UTC] simon dot champion at connectionservices dot com
Description:
------------
---
From manual page: http://www.php.net/ziparchive.open#refsect1-ziparchive.open-parameters
---

From the current documentation:

-------------
The mode to use to open the archive.

    ZIPARCHIVE::OVERWRITE

    ZIPARCHIVE::CREATE

    ZIPARCHIVE::EXCL

    ZIPARCHIVE::CHECKCONS
-------------

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:
---------------
n/a


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-18 15:59 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2015-06-15 11:52 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2015-06-15 11:57 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=336969
Log: linked $flags constants to their definition (fixes #60971)
 [2015-06-15 18:19 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2015-06-15 18:19 UTC] cmb@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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 05:01:27 2024 UTC