Randomly shuffle all characters of a string:
The str_shuffle() function randomly shuffles all the characters of a string.
| Parameter | Description |
|---|---|
| string | Required. Specifies the string to shuffle |
| Return Value: | Returns the shuffled string |
|---|---|
| PHP Version: | 4+ |
Complete PHP String Reference
Your message has been sent to W3Schools.