summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2013-12-18 07:25:05 +0100
committerKalle Sommer Nielsen <kalle@php.net>2013-12-18 07:25:05 +0100
commitd14670ccdb2782abaaaa721d1c379138fa64aae6 (patch)
tree1176c5deddd0efefa69f0f29892c710607b76633 /ext/dom/php_dom.c
parent1433dec2d0c00fcda5bebaeebefca8264deb912a (diff)
downloadphp-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.c2
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);
}