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

php数组的合并与拆分

WBOY
Release: 2016-06-06 20:00:03
Original
1067 people have browsed it

?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

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template