note 99460 added to function.ziparchive-addfile
| From: | gizmore at wechall dot net | Date: | Wed, 18 Aug 2010 17:10:40 +0000 |
| Subject: | note 99460 added to function.ziparchive-addfile | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171819@lists.php.net to get a copy of this message | ||
PHP5.3 will throw a strict standard error when overriding a method with wrong number of arguments.
The correct prototype of this function is:
ZipArchive::addFile($path, [$localname=NULL, $start=0, $end=0])
So there are 4 possible arguments, not just 2.
----
Server IP: 85.214.154.209
Probable Submitter: 92.77.136.117
----
Manual Page -- http://www.php.net/manual/en/function.ziparchive-addfile.php
Edit -- https://master.php.net/note/edit/99460
Del: integrated -- https://master.php.net/note/delete/99460/integrated
Del: useless -- https://master.php.net/note/delete/99460/useless
Del: bad code -- https://master.php.net/note/delete/99460/bad+code
Del: spam -- https://master.php.net/note/delete/99460/spam
Del: non-english -- https://master.php.net/note/delete/99460/non-english
Del: in docs -- https://master.php.net/note/delete/99460/in+docs
Del: other reasons-- https://master.php.net/note/delete/99460
Reject -- https://master.php.net/note/reject/99460
Search -- https://master.php.net/manage/user-notes.php