powerpoint2003 official Download free full version php understanding print EoT delimiter and echo eot usage difference Summary

Source: Internet
Author: User
In HTML and PHP writing, echo can output multiple strings at the same time, without the need for parentheses.
Print can only output one string at a time, requiring parentheses.
Print is used in a very similar way to the C language, so there is a special explanation for the% in the output content.
ECHO has no return value, print () has a return value, and returns Flase when its execution fails, such as a broken wire.
Echo can have multiple parameters, print one parameter. Recommended with Echo.
See the example below to see the print << in PHP

Copy the Code code as follows:


Print <<



$value;

...


EOT;


Meaning:
The <<< operator, which treats the variables between the custom delimiters as strings, can be processed;
EOT a custom delimiter, which must be at the beginning of the line at the end;
Use << on the same page <标记
Tag
Tag;
Note: The tag name is paired, and no more than two tag names appear on the same page;
Another: The end tag name of the pairing tag name should be a single line, not before and after the output characters are allowed ... (such as spaces such as invisible but existing characters ...).
Pros: This allows you to output a large segment of HTML without escaping the quotes inside it or replacing the variable inside with a "."
How to output HTML code in PHP (EOT)
PHP code

Copy code code as follows:


!--? php Echo <<& Lt EOT












The above describes the powerpoint2003 official download free full version PHP understands the print EoT delimiter and echo eot usage differences Summary, including the powerpoint2003 official download free full version of the content, I hope to be interested in PHP tutorial friends helpful.

  • EOT;?> detailed source reference: http://www.jb51.net/article/16022. HTM
    classid stuno student name Parent's name parent mobile number
    Related Article

    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.