summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-06-03 18:39:21 +0000
committerFelipe Pena <felipe@php.net>2010-06-03 18:39:21 +0000
commitd333b79c10e00852bbd70901e4418ff1c8fb969e (patch)
treef78ea04cc6c3541e4662f34c9df456188669cce2 /ext/zip/php_zip.c
parent651a164eed060211348a6970eb0a7e1b46563e9e (diff)
downloadphp-git-d333b79c10e00852bbd70901e4418ff1c8fb969e.tar.gz
- Fix proto and argname
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index a3409b1aef..16047126e9 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -2319,7 +2319,7 @@ static ZIPARCHIVE_METHOD(unchangeAll)
}
/* }}} */
-/* {{{ proto bool ZipArchive::unchangeAll()
+/* {{{ proto bool ZipArchive::unchangeArchive()
Revert all global changes to the archive archive. For now, this only reverts archive comment changes. */
static ZIPARCHIVE_METHOD(unchangeArchive)
{
@@ -2505,7 +2505,7 @@ static ZIPARCHIVE_METHOD(getFromName)
}
/* }}} */
-/* {{{ proto string ZipArchive::getFromIndex(string entryname[, int len [, int flags]])
+/* {{{ proto string ZipArchive::getFromIndex(int index[, int len [, int flags]])
get the contents of an entry using its index */
static ZIPARCHIVE_METHOD(getFromIndex)
{
@@ -2644,7 +2644,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_ziparchive_getfromname, 0, 0, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_ziparchive_getfromindex, 0, 0, 1)
- ZEND_ARG_INFO(0, entryname)
+ ZEND_ARG_INFO(0, index)
ZEND_ARG_INFO(0, len)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO()