常规参数
文章标题:
权重:
文章摘要:
?php#冒泡排序法$arr = array(12,45,89,3,24,55,223,76,22,11,89,2,4,5,28,112,20,434,23,65,65,765,6,8,23,5,33,553,45,423,64,77,84,23);$tmp;for($i=0;$icount($arr)-1;$i++ ){ for($j=0;$jcount($arr)-1-$i;$j++){ if($arr[$j] $arr[$j+1]){ $tmp = $arr[$j]; $arr
关键字:
排序 实现 简单 arr tmp for if print_r jcount icount
管理密码: