Current Location: Home> Function Categories> str_shuffle

str_shuffle

Randomly disrupt a string
Name:str_shuffle
Category:String
Programming Language:php
One-line Description:Randomly disrupts all characters in the string.

Definition and usage

str_shuffle() function randomly disrupts all characters in the string.

Example

Randomly disrupt all characters in the string:

 <?php
echo str_shuffle ( "I love Shanghai" ) ;
?>

Try it yourself

grammar

 str_shuffle ( string )
parameter describe
string Required. Specifies the string to be disrupted.
Similar Functions
Popular Articles