From: Pierre Joye Date: Sun, 22 Oct 2006 00:43:23 +0000 (+0000) Subject: - remove remaining "mode" arguments in the old api X-Git-Tag: RELEASE_1_0_0RC1~1225 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7694aa3222d649d09ba87a292e9b44abc86f10bd;p=php - remove remaining "mode" arguments in the old api --- diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index da939a019d..da971a4ac5 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -631,7 +631,7 @@ PHP_FUNCTION(zip_close) } /* }}} */ -/* {{{ proto resource zip_read(resource zip [, int flags]) +/* {{{ proto resource zip_read(resource zip) Returns the next file in the archive */ PHP_FUNCTION(zip_read) { @@ -641,7 +641,7 @@ PHP_FUNCTION(zip_read) long flags = 0; zip_rsrc *rsrc_int; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &zip_dp, &flags) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &zip_dp) == FAILURE) { return; } ZEND_FETCH_RESOURCE(rsrc_int, zip_rsrc *, &zip_dp, -1, le_zip_dir_name, le_zip_dir); @@ -719,7 +719,7 @@ PHP_FUNCTION(zip_entry_close) } /* }}} */ -/* {{{ proto mixed zip_entry_read(resource zip_entry [, int len [, int mode]]) +/* {{{ proto mixed zip_entry_read(resource zip_entry [, int len]) Read from an open directory entry */ PHP_FUNCTION(zip_entry_read) {