shuffle数组值随便排序函数
shuffle数组值随便排序函数,实例代码如下:
$typename =20; $rtitle = 'tt' ; for ( $i =0; $i <=20; $i ++) { $rtitle_rand = array ( $typename , $rtitle , $typename ); shuffle( $rtitle_rand ); //数组进行随机排序 echo $rtitle_rand [ '0' ]. '<br />' ; } //开源软件:phpfensi测试数据查看更多关于shuffle数组值随便排序函数 - php函数的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did31025