英[???fl] 美[???f?l]

vt.シャッフル; シャッフル; 移動; 脇に置く、脇に置く

vi.shirk; シャッフル; ジャンプシャッフル ダンス; 移動

n.シャッフル、カオス、混亂; 足を引きずる

三人稱単數(shù): shuffles 複數(shù)形: shuffles 現(xiàn)在分詞: shuffled 過去形: shuffled 過去分詞: shuffled

PHPのstr_shuffle()関數(shù) 構(gòu)文

str_shuffle() 関數(shù)の使用方法?

php str_shuffle() 関數(shù)は、文字列內(nèi)のすべての文字をランダムにシャッフルするために使用されます。構(gòu)文は str_shuffle(string) で、シャッフルされた文字列を返します。

関數(shù): 文字列內(nèi)のすべての文字をランダムにシャッフルします

構(gòu)文: str_shuffle(string)

パラメーター:

#パラメータ説明string必須、指定された文字列スクランブルされる

手順: スクランブルされた文字列を返す

PHPのstr_shuffle()関數(shù) 例

<?php
$i = "hello world";
$j = str_shuffle($i);
echo $j;
?>

インスタンスの実行>>

[インスタンスの実行] ボタンをクリックしてオンライン インスタンスを表示します

出力:

lhl drelow
<?php
$i = "php.cn is a good place for study php";
$j = str_shuffle($i);
echo $j;
?>

#インスタンスの実行?[インスタンスの実行] ボタンをクリックしてオンライン インスタンスを表示します

出力:

ohd p odu cei ssr cgafypo tapphp .nl