Doc #54079 [Opn->Csd]: Missing documentation
| From: | frozenfire@php.net | Date: | Mon, 05 Dec 2011 09:41:08 +0000 |
| Subject: | Doc #54079 [Opn->Csd]: Missing documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7579@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54079&edit=1
ID: 54079
Updated by: frozenfire@php.net
Reported by: vitoandre dot doria at gmail dot com
Summary: Missing documentation
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Windows 7
PHP Version: Irrelevant
-Assigned To:
+Assigned To: frozenfire
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2011-12-05 09:40:55] frozenfire@php.net
Automatic comment from SVN on behalf of frozenfire
Revision: http://svn.php.net/viewvc/?view=revision&revision=320405
Log: Added example. Closes bug #54079.
------------------------------------------------------------------------
[2011-02-23 14:34:27] vitoandre dot doria at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/manual/en/book.zip.php
---
The above page or one of the PHP (not user contributed!) examples should include some notes on the
"numFiles" iterator! imho
Somethings like in "Test script:" section.
I had to look onto a different site to find out how the zip iteration works.
There are not enough examples. (or lets say they aim nearly all at the same topic).
I would expect to find on the above site a note or maybe a link to an sample like for the rest.
Regards
VAD
Test script:
---------------
<?php
// Use numFiles to loop through the Items
if ($zip->open('test.zip') == TRUE) {
for ($i = 0; $i < $zip->numFiles; $i++;) {
$filename = $zip->getNameIndex($i);
// Fancy code....
}
}
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54079&edit=1