PHP syntax. <What does xml mean?

Source: Internet
Author: User
$ Template & amp; lt; XML & amp; lt; xml & amp; gt; {code ...} & amp; lt; xml & amp; gt; XML; can be explained to me, here & amp; lt; what does XML mean? $ Template = <


    %s
    
    %s
    
    
     %s
    
    text
    
    %s
    
    
     %s
    


XML;

I can explain it to you here <

Reply content:

$ Template = <


    %s
    
    %s
    
    
     %s
    
    text
    
    %s
    
    
     %s
    


XML;

I can explain it to you here <

[CODE_LITE] < EOT; [/CODE_LITE]
The intermediate document is output directly. A better understanding is "one multi-line echo ".
The advantage is that it is convenient to output a large HTML or xml segment without escaping and variables can be referenced.

Heredoc
Http://php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

Delimiters...

It looks like a string

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.