summaryrefslogtreecommitdiff
path: root/ext/dom/nodelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/nodelist.c')
-rw-r--r--ext/dom/nodelist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/nodelist.c b/ext/dom/nodelist.c
index 3078c1abbe..da39f6a6c2 100644
--- a/ext/dom/nodelist.c
+++ b/ext/dom/nodelist.c
@@ -109,7 +109,7 @@ PHP_FUNCTION(dom_nodelist_count)
zval *id;
dom_object *intern;
- id = &EX(This);
+ id = ZEND_THIS;
if (zend_parse_parameters_none() == FAILURE) {
return;
}
@@ -139,7 +139,7 @@ PHP_FUNCTION(dom_nodelist_item)
xmlNodePtr nodep, curnode;
int count = 0;
- id = &EX(This);
+ id = ZEND_THIS;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &index) == FAILURE) {
return;
}