random

Settable:
no
Arguments:
integer, integer
any array
Return Value:
integer
element from the array

Returns a random (ok, pseudo-random) integer from an even distribution over the specified range, inclusive. If instead of a range of integers, an array of any type is passed, random() will return a randomly selected element from the array.