mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFH: Added macros for managing zval refcounts and is_ref statuses
This commit is contained in:
parent
ca4c55ad3a
commit
4b4d634cb9
79 changed files with 924 additions and 864 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue