MFH: Added macros for managing zval refcounts and is_ref statuses

This commit is contained in:
Yiduo (David) Wang 2007-10-07 05:22:07 +00:00
parent ca4c55ad3a
commit 4b4d634cb9
79 changed files with 924 additions and 864 deletions

View file

@ -669,7 +669,7 @@ PHP_FUNCTION(xsl_xsltprocessor_set_parameter)
}
ALLOC_ZVAL(new_string);
ZVAL_ADDREF(*entry);
Z_ADDREF_PP(entry);
COPY_PZVAL_TO_ZVAL(*new_string, *entry);
zend_hash_update(intern->parameter, string_key, string_key_len, &new_string, sizeof(zval*), NULL);