MFB: Fix #48224 (Remove incorrect shuffle)

This commit is contained in:
Etienne Kneuss 2009-05-10 16:45:21 +00:00
parent a8209c5157
commit 7c41c86a02

View File

@ -3920,10 +3920,6 @@ PHP_FUNCTION(array_rand)
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);
}
}
/* }}} */