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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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 27 20:01:32 2024 UTC