php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #46612 ZipArchive public properties not documented
Submitted: 2008-11-19 11:38 UTC Modified: 2009-04-23 21:51 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:2 (66.7%)
From: steil at zweitwerk dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: steil at zweitwerk dot com
New email:
PHP Version: OS:

 

 [2008-11-19 11:38 UTC] steil at zweitwerk dot com
Description:
------------
According to Reflection or print_r there are five public properties in class ZipArchive, namely status, statusSys, numFiles, filename, comment.
There is no documentation about these properties.

Reproduce code:
---------------
$zip = new ZipArchive();
print_r($zip);


Actual result:
--------------
ZipArchive Object
(
    [status] => 0
    [statusSys] => 0
    [numFiles] => 0
    [filename] => 
    [comment] => 
)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-12 09:33 UTC] bjori@php.net
The ziparchive docs really should be upgraded to the new-oo-markup
 [2008-12-15 23:30 UTC] pajoye@php.net
It is documented, the properties are not, but they are relatively simple (not a reason to do not document them but ..:)
 [2009-04-23 21:51 UTC] dams@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: Mon May 06 05:01:31 2024 UTC