summaryrefslogtreecommitdiff
path: root/ext/dom/entityreference.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/entityreference.c')
-rw-r--r--ext/dom/entityreference.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/entityreference.c b/ext/dom/entityreference.c
index 592a2a2ddb..9d2249155a 100644
--- a/ext/dom/entityreference.c
+++ b/ext/dom/entityreference.c
@@ -28,6 +28,7 @@
#include "php_dom.h"
/* {{{ arginfo */
+static
ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_entityreference_construct, 0, 0, 1)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO();
@@ -58,7 +59,6 @@ PHP_METHOD(domentityreference, __construct)
zend_replace_error_handling(EH_THROW, dom_domexception_class_entry, &error_handling TSRMLS_CC);
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_entityreference_class_entry, &name, &name_len) == FAILURE) {
- zend_restore_error_handling(&error_handling TSRMLS_CC);
return;
}