diff options
Diffstat (limited to 'ext/dom/entityreference.c')
-rw-r--r-- | ext/dom/entityreference.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/dom/entityreference.c b/ext/dom/entityreference.c index f7c0c2a711..479d99d88e 100644 --- a/ext/dom/entityreference.c +++ b/ext/dom/entityreference.c @@ -1,7 +1,5 @@ /* +----------------------------------------------------------------------+ - | PHP Version 7 | - +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | @@ -52,7 +50,7 @@ PHP_METHOD(domentityreference, __construct) char *name; size_t name_len, name_valid; - if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { return; } |