From 6849171a2d161604a2b6b2af9d3619677d600ff1 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Fri, 24 Oct 2008 10:27:54 +0000 Subject: [PATCH] - Removed unnecessary check for array (#46273, noticed by serovov at gmail dot com) --- ext/standard/var.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/var.c b/ext/standard/var.c index 0c8e051a9c..3c222a7a6b 100644 --- a/ext/standard/var.c +++ b/ext/standard/var.c @@ -604,7 +604,7 @@ PHPAPI void php_var_export(zval **struc, int level TSRMLS_DC) /* {{{ */ php_printf("\n%*c", level - 1, ' '); } PUTS ("array (\n"); - zend_hash_apply_with_arguments(myht TSRMLS_CC, (apply_func_args_t) php_array_element_export, 1, level, (Z_TYPE_PP(struc) == IS_ARRAY ? 0 : 1)); + zend_hash_apply_with_arguments(myht TSRMLS_CC, (apply_func_args_t) php_array_element_export, 1, level, 0); if (level > 1) { php_printf("%*c", level - 1, ' '); } -- 2.40.0