colder          Sun May 10 16:45:30 2009 UTC

  Modified files:              
    /php-src/ext/standard       array.c 
  Log:
  MFB: Fix #48224 (Remove incorrect shuffle)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/array.c?r1=1.475&r2=1.476&diff_format=u
Index: php-src/ext/standard/array.c
diff -u php-src/ext/standard/array.c:1.475 php-src/ext/standard/array.c:1.476
--- php-src/ext/standard/array.c:1.475  Thu Mar 26 20:02:28 2009
+++ php-src/ext/standard/array.c        Sun May 10 16:45:30 2009
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: array.c,v 1.475 2009/03/26 20:02:28 felipe Exp $ */
+/* $Id: array.c,v 1.476 2009/05/10 16:45:30 colder Exp $ */
 
 #include "php.h"
 #include "php_ini.h"
@@ -4114,10 +4114,6 @@
                num_avail--;
                zend_hash_move_forward_ex(Z_ARRVAL_P(input), &pos);
        }
-
-       if (num_req == num_avail) {
-               php_array_data_shuffle(return_value TSRMLS_CC);
-       }
 }
 /* }}} */
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to