Skip to content

Commit

Permalink
Merge branch 'xdebug_2_8'
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Sep 17, 2019
2 parents 84398f7 + 80ecb52 commit 5613ca4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xdebug_var.c
Expand Up @@ -2118,6 +2118,11 @@ void xdebug_var_export_xml_node(zval **struc, xdebug_str *name, xdebug_xml_node
xdebug_object_item *xoi_val; xdebug_object_item *xoi_val;
zval *tmpz; zval *tmpz;


if (!*struc) {
xdebug_xml_add_attribute(node, "type", "uninitialized");
return;
}

if (Z_TYPE_P(*struc) == IS_INDIRECT) { if (Z_TYPE_P(*struc) == IS_INDIRECT) {
tmpz = ((*struc)->value.zv); tmpz = ((*struc)->value.zv);
struc = &tmpz; struc = &tmpz;
Expand Down

0 comments on commit 5613ca4

Please sign in to comment.