All pastes #353743 Raw Edit

Stuff

public text v1 · immutable
#353743 ·published 2007-02-13 15:37 UTC
rendered paste body
### Eclipse Workspace Patch 1.0
#P php5-cvs
Index: ext/standard/var.c
===================================================================
RCS file: /repository/php-src/ext/standard/var.c,v
retrieving revision 1.203.2.7.2.14
diff -u -r1.203.2.7.2.14 var.c
--- ext/standard/var.c	1 Jan 2007 09:36:09 -0000	1.203.2.7.2.14
+++ ext/standard/var.c	13 Feb 2007 15:35:44 -0000
@@ -149,7 +149,7 @@
 		php_element_dump_func = php_object_property_dump;
 head_done:
 		if (myht) {
-			zend_hash_apply_with_arguments(myht, (apply_func_args_t) php_element_dump_func, 1, level, (Z_TYPE_PP(struc) == IS_ARRAY ? 0 : 1));
+			zend_hash_apply_with_arguments(myht, (apply_func_args_t) php_element_dump_func, 2, level, (Z_TYPE_PP(struc) == IS_ARRAY ? 1 : 0));
 		}
 		if (level > 1) {
 			php_printf("%*c", level-1, ' ');