felipe Fri Oct 24 10:28:29 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard var.c Log: - MFH: Removed unnecessary check for array (#46273, noticed by serovov at gmail dot com) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/var.c?r1=1.203.2.7.2.18.2.12&r2=1.203.2.7.2.18.2.13&diff_format=u Index: php-src/ext/standard/var.c diff -u php-src/ext/standard/var.c:1.203.2.7.2.18.2.12 php-src/ext/standard/var.c:1.203.2.7.2.18.2.13 --- php-src/ext/standard/var.c:1.203.2.7.2.18.2.12 Wed Aug 20 21:26:04 2008 +++ php-src/ext/standard/var.c Fri Oct 24 10:28:29 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: var.c,v 1.203.2.7.2.18.2.12 2008/08/20 21:26:04 lstrojny Exp $ */ +/* $Id: var.c,v 1.203.2.7.2.18.2.13 2008/10/24 10:28:29 felipe Exp $ */ /* {{{ includes */ @@ -410,7 +410,7 @@ 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, ' '); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php