mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Avoid double IS_INTERNED() check
This commit is contained in:
parent
35f8467687
commit
bccc653185
24 changed files with 81 additions and 92 deletions
|
@ -791,7 +791,7 @@ PHP_FUNCTION(xsl_xsltprocessor_set_parameter)
|
|||
|
||||
intern = Z_XSL_P(id);
|
||||
|
||||
ZVAL_STR(&new_string, zend_string_copy(value));
|
||||
ZVAL_STR_COPY(&new_string, value);
|
||||
|
||||
zend_hash_update(intern->parameter, name, &new_string);
|
||||
RETURN_TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue