shuffle Shuffle an array &reftitle.description; boolshuffle arrayarray This function shuffles (randomizes the order of the elements in) an array. It uses a pseudo random number generator that is not suitable for cryptographic purposes. &reftitle.parameters; array The array. &reftitle.returnvalues; &return.success; &reftitle.changelog; &Version; &Description; 7.1.0 The internal randomization algorithm has been changed to use the Mersenne Twister Random Number Generator instead of the libc rand function. &reftitle.examples; <function>shuffle</function> example ]]> &reftitle.notes; ¬e.no-key-association; &reftitle.seealso; array_rand &seealso.array.sorting;