你可以这样:
$arr = array(1,2,3,4,5,6,7,8,9,10,11);$arr=array_merge($arr,$arr);asort($arr);print_r($arr);
$arr = array(1,2,3,4,5,6,7,8,9,10,11);$t = array();foreach($arr as $n){ $t[] = $n; $t[] = $n;}$arr = $t;