The str_shuffle() function randomly shuffles all the characters of a string.
string str_shuffle ( string $str )
str_shuffle() shuffles a string. One permutation of all possible is created.
Parameter | Description |
---|---|
string | Required. Specifies the string to shuffle |
Returns the shuffled string.