diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-09-29 11:17:43 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-09-29 11:17:43 +0300 |
commit | 560e4fa39327e952652b6469d9644fc5fa2c15fa (patch) | |
tree | b91589369c569d8efe84785303b58ad0fdd17c18 /ext/xsl/xsltprocessor.c | |
parent | 617bef558bbc8e2dd7682d9f407963b4a88092eb (diff) | |
download | php-git-560e4fa39327e952652b6469d9644fc5fa2c15fa.tar.gz |
Removed or simplified incorrect SEPARATE_*() macros usage.
Diffstat (limited to 'ext/xsl/xsltprocessor.c')
-rw-r--r-- | ext/xsl/xsltprocessor.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c index ee52336c4e..ffd0552263 100644 --- a/ext/xsl/xsltprocessor.c +++ b/ext/xsl/xsltprocessor.c @@ -153,7 +153,6 @@ static char **php_xsl_xslt_make_params(HashTable *parht, int xpath_params) return NULL; } else { if (Z_TYPE_P(value) != IS_STRING) { - SEPARATE_ZVAL(value); convert_to_string(value); } @@ -762,7 +761,6 @@ PHP_FUNCTION(xsl_xsltprocessor_set_parameter) php_error_docref(NULL, E_WARNING, "Invalid parameter array"); RETURN_FALSE; } - SEPARATE_ZVAL(entry); convert_to_string_ex(entry); if (Z_REFCOUNTED_P(entry)) { Z_ADDREF_P(entry); @@ -850,7 +848,6 @@ PHP_FUNCTION(xsl_xsltprocessor_register_php_functions) intern = Z_XSL_P(id); ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(array_value), entry) { - SEPARATE_ZVAL(entry); convert_to_string_ex(entry); ZVAL_LONG(&new_string ,1); zend_hash_update(intern->registered_phpfunctions, Z_STR_P(entry), &new_string); |