Blogger Information
Blog 250
fans 3
comment 0
visits 323138
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
函数:shuffle() 打乱数组排序
梁凯达的博客
Original
909 people have browsed it

 //shuffle()
 //函数用于打乱元素的位置;
 //返回值为打乱后的数组

实例

 $arr1 = array('金','木','水','火','土');
 shuffle($arr1);
 var_dump($arr1);

运行实例 »

点击 "运行实例" 按钮查看在线实例

 

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post