php man page for str_shuffle

Query: str_shuffle

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

STR_SHUFFLE(3)								 1							    STR_SHUFFLE(3)

str_shuffle - Randomly shuffles a string

SYNOPSIS
string str_shuffle (string $str)
DESCRIPTION
str_shuffle(3) shuffles a string. One permutation of all possible is created.
PARAMETERS
o $str - The input string.
RETURN VALUES
Returns the shuffled string.
EXAMPLES
Example #1 str_shuffle(3) example <?php $str = 'abcdef'; $shuffled = str_shuffle($str); // This will echo something like: bfdaec echo $shuffled; ?>
SEE ALSO
shuffle(3), rand(3). PHP Documentation Group STR_SHUFFLE(3)
Related Man Pages
addslashes(3) - php
mb_strtolower(3) - php
collator_get_sort_key(3) - php
mb_strtoupper(3) - php
strlen(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch