mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-7.2' into PHP-7.3
This commit is contained in:
@@ -2267,7 +2267,7 @@ static xmlNodePtr to_xml_array(encodeTypePtr type, zval *data, int style, xmlNod
|
||||
} else {
|
||||
add_next_index_zval(&array_copy, val);
|
||||
}
|
||||
Z_ADDREF_P(val);
|
||||
Z_TRY_ADDREF_P(val);
|
||||
|
||||
iter->funcs->move_forward(iter);
|
||||
if (EG(exception)) {
|
||||
@@ -2848,7 +2848,7 @@ static zval *guess_zval_convert(zval *ret, encodeTypePtr type, xmlNodePtr data)
|
||||
|
||||
object_init_ex(&soapvar, soap_var_class_entry);
|
||||
add_property_long(&soapvar, "enc_type", enc->details.type);
|
||||
Z_DELREF_P(ret);
|
||||
Z_TRY_DELREF_P(ret);
|
||||
add_property_zval(&soapvar, "enc_value", ret);
|
||||
parse_namespace(type_name, &cptype, &ns);
|
||||
nsptr = xmlSearchNs(data->doc, data, BAD_CAST(ns));
|
||||
|
||||
Reference in New Issue
Block a user