--- D:/programming/xdebug/xdebug_var.c	Tue Sep 17 10:02:33 2013
+++ D:/programming/xdebug/xdebug_var.c	Tue Sep 17 09:19:20 2013
@@ -1286,7 +1286,10 @@
 			}
 
 			/* Adding normal properties */
-			zend_hash_apply_with_arguments(Z_OBJDEBUG_PP(struc, is_temp) XDEBUG_ZEND_HASH_APPLY_TSRMLS_CC, (apply_func_args_t) object_item_add_to_merged_hash, 2, merged_hash, (int) XDEBUG_OBJECT_ITEM_TYPE_PROPERTY);
+			myht = Z_OBJDEBUG_PP(struc, is_temp);
+			if (myht) {
+				zend_hash_apply_with_arguments(myht XDEBUG_ZEND_HASH_APPLY_TSRMLS_CC, (apply_func_args_t) object_item_add_to_merged_hash, 2, merged_hash, (int) XDEBUG_OBJECT_ITEM_TYPE_PROPERTY);
+			}
 #else
 			/* Adding static properties */
 			if (CE_STATIC_MEMBERS(ce)) {
