From: Dmitry Stogov Date: Mon, 20 Feb 2006 17:14:18 +0000 (+0000) Subject: Incorrect usage of Z_TYPE() macro X-Git-Tag: RELEASE_1_2~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e6a84129cd277ee0801dc7beb5339121fe696a5;p=php Incorrect usage of Z_TYPE() macro --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 284bcaf47f..ea54c27967 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -3152,7 +3152,7 @@ PHP_FUNCTION(parse_ini_file) memset(&fh, 0, sizeof(fh)); fh.filename = Z_STRVAL_PP(filename); - Z_TYPE(fh) = ZEND_HANDLE_FILENAME; + fh.type = ZEND_HANDLE_FILENAME; array_init(return_value); zend_parse_ini_file(&fh, 0, ini_parser_cb, return_value);