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
commitc42d8b3776825a2fcba02ca9cd9f5e6c3cb0f723 (patch)
tree6995a04f112c361a8c5c0d96c1093f53d0afb185 /ext/zip/php_zip.c
parent7deae5022d37de323dc03228dff89bcbc0966b32 (diff)
downloadphp-git-c42d8b3776825a2fcba02ca9cd9f5e6c3cb0f723.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 ada2bfb35f..01a8925577 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -2306,7 +2306,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)
{
@@ -2492,7 +2492,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)
{
@@ -2631,7 +2631,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()