Use RETURN_THROWS() in various places

This commit is contained in:
Máté Kocsis 2020-01-03 20:44:29 +01:00
parent bbcfa66e06
commit aadd3aaed9
No known key found for this signature in database
GPG key ID: FD055E41728BF310
33 changed files with 84 additions and 83 deletions

View file

@ -1352,13 +1352,13 @@ PHP_FUNCTION(xml_parse_into_struct)
if (info) {
info = zend_try_array_init(info);
if (!info) {
return;
RETURN_THROWS();
}
}
xdata = zend_try_array_init(xdata);
if (!xdata) {
return;
RETURN_THROWS();
}
ZVAL_COPY_VALUE(&parser->data, xdata);