felipe          Fri Oct 24 10:28:57 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /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.22&r2=1.203.2.7.2.23&diff_format=u
Index: php-src/ext/standard/var.c
diff -u php-src/ext/standard/var.c:1.203.2.7.2.22 
php-src/ext/standard/var.c:1.203.2.7.2.23
--- php-src/ext/standard/var.c:1.203.2.7.2.22   Mon Dec 31 07:20:13 2007
+++ php-src/ext/standard/var.c  Fri Oct 24 10:28:56 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: var.c,v 1.203.2.7.2.22 2007/12/31 07:20:13 sebastian Exp $ */
+/* $Id: var.c,v 1.203.2.7.2.23 2008/10/24 10:28:56 felipe Exp $ */
 
 
 
@@ -424,7 +424,7 @@
                        php_printf("\n%*c", level - 1, ' ');
                }
                PUTS ("array (\n");
-               zend_hash_apply_with_arguments(myht, (apply_func_args_t) 
php_array_element_export, 1, level, (Z_TYPE_PP(struc) == IS_ARRAY ? 0 : 1));
+               zend_hash_apply_with_arguments(myht, (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

Reply via email to