PHP str_shuffle() Function
Complete PHP String Reference
Definition and Usage
The str_shuffle() function randomly shuffles all the characters of a string.
Syntax
Parameter |
Description |
string |
Required. Specifies the string to shuffle |
Example
<?php
echo str_shuffle("Hello World");
?>
|
The output of the code above could be:
Complete PHP String Reference
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|