php读取xml数据后出问题

WBOY
Release: 2016-06-02 11:28:22
Original
755 people have browsed it

php

从xml读取的数据b=array(21,22,23)。用in_array(a,b)读取,为什么只能读第一个数。如果a=21就是true,a=22或者23就是false。这是编码问题吗?

Related labels:
php
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!