$cars=array(
array("Volvo",22,18),
array("BMW",15,13),
array("Saab",5,2),
array("LandRover",17,15)
);
array("Volvo",22,18),
array("BMW",15,13),
array("Saab",5,2),
array("LandRover",17,15)
);
举一反三
- $cars=array(array("Volvo",22,18),array...and Rover",17,15));
- $cars=array(array("Volvo",22,18),array("BMW",15,13),array("Saab",5,2),array("Land Rover",17,15)); A: 内外层都是索引数组 B: 内层是索引数组,外层是关联数组 C: 内层是关联数组,外层是索引数组 D: 内外层都是关联数组
- $cars=array(array("品牌"=>"Volvo","库存"=>...库存"=>17,"销量"=>15));
- $cars=array("Volvo"=>10,"BMW"=>5,"SAAB"=>23);___________可访问"BMW"对应的元素
- $cars=array("Volvo","BMW","SAAB",10,3.14,true); 如果访问其中值为10的这个元素,访问方式是$cars[ _____ ]?