função PHP str_shuffle ()
Exemplos
Aleatoriamente interromper todos os caracteres em uma string:
<?php
echo str_shuffle("Hello World");
?>
echo str_shuffle("Hello World");
?>
Correndo instância »
Definição e Uso
função str_shuffle () interromper aleatoriamente todos os caracteres em uma string.
gramática
str_shuffle( string )
参数 | 描述 |
---|---|
string | 必需。规定要打乱的字符串。 |
detalhes técnicos
retorna: | Retorna uma cadeia de virada. |
---|---|
versão do PHP: | 4.3.0+ |
PHP seqüência de referência