$cnt = 10000;
$arr = array(
);
for($k=0; $k < $cnt; $k ){
$arr[$k] = array(188****6097,"aaa");
}
print_r($arr);
$arr2 = array();
$num = 0;
for($i = 0; $i < $cnt; $i ){
/* $arr_tmp creat by you code */
$arr_tmp = array($arr[$i][0],$arr[$i][1]);
$arr2[ $arr[$i][0] ] = $arr_tmp;
$num ;
}
print_r($arr2);
echo "cmp's count is $num \n";
?>
阅读(1864) | 评论(0) | 转发(0) |