Skip to content

Commit

Permalink
Support IS_REFERENCE for remote debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Oct 11, 2015
1 parent f4a0d9b commit 84c475f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xdebug_var.c
Expand Up @@ -2042,6 +2042,10 @@ void xdebug_var_export_xml_node(zval **struc, char *name, xdebug_xml_node *node,
zval *tmpz = ((*struc)->value.zv);
struc = &tmpz;
}
if (Z_TYPE_P(*struc) == IS_REFERENCE) {
zval *tmpz = &((*struc)->value.ref->val);
struc = &tmpz;
}
#endif

switch (Z_TYPE_P(*struc)) {
Expand Down

0 comments on commit 84c475f

Please sign in to comment.