Use RETURN_THROWS() during ZPP in the date, dba and dom extensions

This commit is contained in:
Máté Kocsis 2019-12-30 18:14:29 +01:00
parent 76c45f35f5
commit 2f7309b1e9
No known key found for this signature in database
GPG key ID: FD055E41728BF310
19 changed files with 116 additions and 116 deletions

View file

@ -46,7 +46,7 @@ PHP_METHOD(domentityreference, __construct)
size_t name_len, name_valid;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) {
return;
RETURN_THROWS();
}
name_valid = xmlValidateName((xmlChar *) name, 0);