diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2013-12-18 07:25:05 +0100 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2013-12-18 07:25:05 +0100 |
commit | d14670ccdb2782abaaaa721d1c379138fa64aae6 (patch) | |
tree | 1176c5deddd0efefa69f0f29892c710607b76633 /ext/soap/php_encoding.c | |
parent | 1433dec2d0c00fcda5bebaeebefca8264deb912a (diff) | |
download | php-git-d14670ccdb2782abaaaa721d1c379138fa64aae6.tar.gz |
Eliminate another TSRMLS_FETCH() in i_zend_is_true()
# Affected extensions have all been updated, ext/opcache and ext/zip
# both have macros for cross version compatibility
Diffstat (limited to 'ext/soap/php_encoding.c')
-rw-r--r-- | ext/soap/php_encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index 5cec3e558e..748093a3ef 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -1189,7 +1189,7 @@ static xmlNodePtr to_xml_bool(encodeTypePtr type, zval *data, int style, xmlNode xmlAddChild(parent, ret); FIND_ZVAL_NULL(data, ret, style); - if (zend_is_true(data)) { + if (zend_is_true(data TSRMLS_CC)) { xmlNodeSetContent(ret, BAD_CAST("true")); } else { xmlNodeSetContent(ret, BAD_CAST("false")); |