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/dom/php_dom.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/dom/php_dom.c')
-rw-r--r-- | ext/dom/php_dom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index db8ec83a44..529fe8dfa2 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -448,7 +448,7 @@ static int dom_property_exists(zval *object, zval *member, int check_empty, cons Z_SET_REFCOUNT_P(tmp, 1); Z_UNSET_ISREF_P(tmp); if (check_empty == 1) { - retval = zend_is_true(tmp); + retval = zend_is_true(tmp TSRMLS_CC); } else if (check_empty == 0) { retval = (Z_TYPE_P(tmp) != IS_NULL); } |