array_rand

array_rand -- Pick one or more random entries out of an array

Description

mixed array_rand ( array input [, int num_req])

Exempel 1 . array_rand( ) example