Home > Backend Development > PHP Tutorial > 两object 或 两XML 内容的比较 for SegmentFault

两object 或 两XML 内容的比较 for SegmentFault

WBOY
Release: 2016-06-06 20:40:59
Original
923 people have browsed it

请问有没有方式可以 比较 两object 或 两个xml 的内容有没有不同

像 array_diff 这样的东西?

求解

回复内容:

请问有没有方式可以 比较 两object 或 两个xml 的内容有没有不同

像 array_diff 这样的东西?

求解

先json_encode转为字符串比较怎么样?

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