mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
RC manipulation cleanup 2
This commit is contained in:
parent
3fa0cee640
commit
d56a534acc
17 changed files with 118 additions and 167 deletions
|
@ -764,9 +764,7 @@ PHP_FUNCTION(xsl_xsltprocessor_set_parameter)
|
|||
RETURN_FALSE;
|
||||
}
|
||||
convert_to_string_ex(entry);
|
||||
if (Z_REFCOUNTED_P(entry)) {
|
||||
Z_ADDREF_P(entry);
|
||||
}
|
||||
Z_TRY_ADDREF_P(entry);
|
||||
zend_hash_update(intern->parameter, string_key, entry);
|
||||
} ZEND_HASH_FOREACH_END();
|
||||
RETURN_TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue