diff options
Diffstat (limited to 'ext/dom/entityreference.c')
-rw-r--r-- | ext/dom/entityreference.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/ext/dom/entityreference.c b/ext/dom/entityreference.c index 80f3daa223..f7c0c2a711 100644 --- a/ext/dom/entityreference.c +++ b/ext/dom/entityreference.c @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2018 The PHP Group | + | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -46,7 +46,6 @@ const zend_function_entry php_dom_entityreference_class_functions[] = { /* {{{ proto DOMEntityReference::__construct(string name) */ PHP_METHOD(domentityreference, __construct) { - zval *id = getThis(); xmlNode *node; xmlNodePtr oldnode = NULL; dom_object *intern; @@ -70,7 +69,7 @@ PHP_METHOD(domentityreference, __construct) RETURN_FALSE; } - intern = Z_DOMOBJ_P(id); + intern = Z_DOMOBJ_P(ZEND_THIS); if (intern != NULL) { oldnode = dom_object_get_node(intern); if (oldnode != NULL) { @@ -82,12 +81,3 @@ PHP_METHOD(domentityreference, __construct) /* }}} end DOMEntityReference::__construct */ #endif - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * End: - * vim600: noet sw=4 ts=4 fdm=marker - * vim<600: noet sw=4 ts=4 - */ |