String-$ php = <what is the name of the xml replication method? Is there a detailed introduction? Thank you.

Source: Internet
Author: User
{Code...} Is this correct? What is the name of this method? Thank you!
$…… = <

 

 Xml;

Is this correct? What is the name of this method?
Thank you!

Reply content:
$…… = <

 

 Xml;

Is this correct? What is the name of this method?
Thank you!

Heredoc Structure
Http://cn.php.net/manual/zh/language ....

There are similar statements in bash, here document.

It's just reading the following characters. What is reading? It looks like CDATA.

HereDoc. Another NowDoc search has been launched recently.

This is called the delimiter to build a string.
$…… = <

Xml;
This is the string with < <The flag is used as the start and end mark.
The end mark must be a line break and written in the top lattice.

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.