Home > Backend Development > PHP Tutorial > php二位数组获取重复元素

php二位数组获取重复元素

WBOY
Release: 2016-06-02 11:31:13
Original
1217 people have browsed it

php数组

<code>    $arr = array(        array('0001','0002'),        array('0001','0002','0003'),        array('0001','0002','0003','0005'),        array('0001','0002','1003','0005'),    );</code>
Copy after login

希望得到结果,获取重复元素
$arr = array(‘0001’,‘0002’);

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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template