// 打乱关联数组的排序 |
function shuffle_assoc($array) |
{ |
$randomized_keys = array_rand($array, count($array)); |
foreach($randomized_keys as $current_key) |
{ |
$output[$current_key] = $array[$current_key]; |
} |
return $output; |
} |
by: 发表于:2017-10-19 09:42:00 顶(0) | 踩(0) 回复
??
回复评论