diff options
Diffstat (limited to 'ext/dom/comment.c')
-rw-r--r-- | ext/dom/comment.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/ext/dom/comment.c b/ext/dom/comment.c index 924d713b97..9cbec9f173 100644 --- a/ext/dom/comment.c +++ b/ext/dom/comment.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 | @@ -47,8 +47,6 @@ const zend_function_entry php_dom_comment_class_functions[] = { /* {{{ proto DOMComment::__construct([string value]); */ PHP_METHOD(domcomment, __construct) { - - zval *id = getThis(); xmlNodePtr nodep = NULL, oldnode = NULL; dom_object *intern; char *value = NULL; @@ -65,7 +63,7 @@ PHP_METHOD(domcomment, __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) { @@ -77,12 +75,3 @@ PHP_METHOD(domcomment, __construct) /* }}} end DOMComment::__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 - */ |