PHP function shuffle()

Availability in PHP 4.0

Shuffle an array

Parameters

Parameter Data type Default value Note
$array array not The array.

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official shuffle documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.