<?php $arr=array(1,2,3,'a'=>4); $arr['b']=5;//增unset($arr[1]);//删$arr[2]=2;var_dump($arr);//查 ?> 相关文章: