PHP study notes (2) Data types

Source: Internet
Author: User
: PHP learning notes (2) data type: Serial Number symbol name function remarks 1echo output character is the same as the print statement of python, and the string or variable following it is displayed on the page 2; after a semicolon is used in the code, it indicates that the 3XML flag is used to include the code so that it can be used separately from the html code. the server cannot disable the 4th script wind & lt; scriptlanguagephp
Serial Number Symbol Name Function Remarks
1 Echo Output character The print statement is the same as that of python.
The string or variable value that follows it is displayed on the page.
2 ; SEMICOLON After the code is used, it indicates the end
3 ?> XML tag style It is used to include code to distinguish it from html code.
Recommended, server cannot be disabled
Echo "hello, world! ";
?>
4

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.