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.
¬e.sort-unstable;
&reftitle.parameters;
array
The array.
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
shuffle example
]]>
&reftitle.notes;
¬e.no-key-association;
&reftitle.seealso;
array_rand
&seealso.array.sorting;