mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use RETURN_THROWS() during ZPP in the date, dba and dom extensions
This commit is contained in:
parent
76c45f35f5
commit
2f7309b1e9
19 changed files with 116 additions and 116 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue