zip_rsrc *rsrc_int;
int err = 0;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &filename, &filename_len) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
return;
}
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|l", &zip_dp, &flags) == FAILURE) {
return;
}
ZEND_FETCH_RESOURCE(rsrc_int, zip_rsrc *, &zip_dp, -1, le_zip_dir_name, le_zip_dir);
{
struct zip *intern;
zval *this = getThis();
- long comment_len = 0;
+ int comment_len;
char * comment;
if (!this) {
{
struct zip *intern;
zval *this = getThis();
- long comment_len = 0, name_len = 0;
+ int comment_len, name_len;
char * comment, *name;
struct zip_stat sb;
{
struct zip *intern;
zval *this = getThis();
- long index, comment_len = 0;
+ long index
+ int comment_len;
char * comment;
struct zip_stat sb;
{
struct zip *intern;
zval *this = getThis();
- long name_len = 0, flags = 0;
+ int name_len;
+ long flags = 0;
int comment_len = 0;
const char * comment;
char *name;
{
struct zip *intern;
zval *this = getThis();
- long name_len = 0;
- char *name;
+ int name_len;
+ char *name;
struct zip_stat sb;
if (!this) {