summaryrefslogtreecommitdiff
path: root/ext/dom/xml_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/xml_common.h')
-rw-r--r--ext/dom/xml_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/xml_common.h b/ext/dom/xml_common.h
index e0acde1564..919cebde6c 100644
--- a/ext/dom/xml_common.h
+++ b/ext/dom/xml_common.h
@@ -84,7 +84,7 @@ PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj);
*ret = php_dom_create_object(obj, return_value, domobject)
#define DOM_GET_THIS(zval) \
- do { zval = &EX(This); } while (0)
+ do { zval = ZEND_THIS; } while (0)
#define DOM_GET_THIS_OBJ(__ptr, __id, __prtype, __intern) \
DOM_GET_THIS(__id); \