This function shuffles (randomizes the order of the elements in) an array. You must use srand() to seed this function.
As of PHP 4.2.0, there is no need to seed the random number generator with srand() or mt_srand() as this is now done automatically.
See also arsort(), asort(), ksort(), rsort(), sort(), and usort().
| This HTML Help has been published using the chm2web software. |