May I ask PHPsimplexml_load_string about reading XML and comparing values?

Source: Internet
Author: User
Ask PHPsimplexml_load_string to read XML and compare the values. at the end of this post, the XML structure is edited by xp8878 at 2014-01-1218:21:. The following is the Parent node & lt; Parent & gt; subnode 1 & lt; ask PHP simplexml_load_string to read XML and compare the values.
The XML structure edited by xp8878 at 18:21:08 is as follows:
Parent node
Subnode 1 Xxx
Subnode 2 Xx
There are two nodes under the Parent, and PHP points to the Parent with the variable $ p.
Why is the result of $ p-> Child1 ==$ p-> Child2 true?
How can we determine whether two values are equal?
Thank you! Share: More

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.