We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a989091 commit 1d64b4cCopy full SHA for 1d64b4c
ext/standard/array.c
@@ -2398,7 +2398,6 @@ static void php_array_data_shuffle(zval *array) /* {{{ */
2398
}
2399
2400
while (--n_left) {
2401
- rnd_idx = php_rand();
2402
RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
2403
if (rnd_idx != n_left) {
2404
temp = hash->arData[n_left];
@@ -2424,7 +2423,6 @@ static void php_array_data_shuffle(zval *array) /* {{{ */
2424
2423
2425
2426
2427
2428
2429
2430
0 commit comments