Doc #77426 [Opn->Nab]: missing brackets in zipArchive::addFile documentation
| From: | peehaa@php.net | Date: | Mon, 07 Jan 2019 17:37:12 +0000 |
| Subject: | Doc #77426 [Opn->Nab]: missing brackets in zipArchive::addFile documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16307@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77426&edit=1
ID: 77426
Updated by: peehaa@php.net
Reported by: klimplant at disroot dot org
Summary: missing brackets in zipArchive::addFile
documentation
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2019-01-07 17:31:15] klimplant at disroot dot org
Description:
------------
---
From manual page: https://php.net/ziparchive.addfile
---
On the man page for ZipArchive::addFile a new archive is created by using
$zip = new
ZipArchive;, while it should be $zip = new ZipArchive(); (notice the opening and
closing brackets)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77426&edit=1