菜单切换
FACESOHO知行者
心灵
记录
远方
赞赏工具
源代码
运行
保存
"red","b"=>"green","c"=>"blue","d"=>"yellow","e"=>"purple"); shuffle($my_array); print_r($my_array); ?>
Refresh the page to see how shuffle() randomizes the order of the elements in the array.
运行结果
Array ( [0] => red [1] => blue [2] => green [3] => purple [4] => yellow )
Refresh the page to see how shuffle() randomizes the order of the elements in the array.