[xdebug-dev] xdebug xdebug/xdebug_var.c - The proper Xdebug type is "hash" for associative arrays.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Tue, 16 Nov 2004 14:42:39 +0100

Date: Tue Nov 16 14:42:39 CET 2004
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- The proper Xdebug type is "hash" for associative arrays.

Modified files:
           xdebug/xdebug_var.c (version: 1.54)

[FILE: /xdebug/xdebug_var.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- xdebug/xdebug_var.c:1.53 Tue Oct 26 07:06:56 2004 GMT
+++ xdebug/xdebug_var.c Tue Nov 16 12:42:39 2004 GMT
@@ -488,7 +488,7 @@
 
                 case IS_ARRAY:
                         myht = Z_ARRVAL_PP(struc);
- xdebug_xml_add_attribute(node, "type", "array");
+ xdebug_xml_add_attribute(node, "type", "hash");
                         xdebug_xml_add_attribute(node, "children", myht->nNumOfElements > 0?"1":"0");
                         if (myht->nApplyCount < 1) {
                                 xdebug_xml_add_attribute_ex(node, "numchildren", xdebug_sprintf("%d", myht->nNumOfElements), 0, 1);
Received on Tue Nov 16 2004 - 15:20:55 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST