首页 >php教程 >php手册 >php数组的合并与拆分

php数组的合并与拆分

WBOY
WBOY原创
2016-06-06 20:00:031064浏览

?php$array1 = array("A","B","C","D");$array2 = array("1","2","3","4");$array3 = array("!","@","#","$");$arrayX = array_merge($array1, $array2, $array3);//将3个数组合并起来print_r($arrayX);? ?php$array1 = array("AA"="A","BB"="B","CC"="C","D

 

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn