Blog Archives

PHP数组操作:批量改变数组键值,依次赋键值

$arr=array(a,b,c,d,e,f,g);
$arr_new=array(
 ”one”=>$arr[0],
 ”two”=>$arr[0],
 ”three”=>$arr[0],
 ”four”=>$arr[0],
 ”five”=>$arr[0],
 ”six”=>$arr[0],[……]

继续阅读

PHP 
2013-10-28 Comments (0)
阅读全文

TOP