Home >Backend Development >PHP Tutorial >php读取xml数据后出问题

php读取xml数据后出问题

WBOY
WBOYOriginal
2016-06-02 11:28:22781browse

php

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

Statement:
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