mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Use RETURN_THROWS() in various places
This commit is contained in:
parent
bbcfa66e06
commit
aadd3aaed9
33 changed files with 84 additions and 83 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue