Why to use delimiters: because PHP is a web programming language, in the programming process will inevitably encounter with Echo to output a large segment of HTML and JavaScript script, if the traditional output method-by string output, There must
If you use the traditional output method--by string output--there must be a large number of escape characters to escape the special characters in the string, such as quotes, so that there is no syntax error. If it's one or two, you can tolerate it,
The end identifier must start at the first column of the row. Similarly, identifiers must follow the naming conventions of any other tag in PHP: They can only contain alphanumeric underscores, and must begin with an underscore or non-numeric
PHP is a web programming language, in the programming process will inevitably encounter the use of echo to output a large segment of HTML and JavaScript script, if the traditional output method-by the string output, there must be a large number of
The end identifier must start at the first column of the row. Similarly, identifiers must follow the naming conventions of any other tag in PHP: They can only contain alphanumeric underscores, and must begin with an underscore or non-numeric
PHP is a web programming language, in the programming process will inevitably encounter with Echo to output a large segment of HTML and JavaScript script, if the traditional output method-by string output,There must be a large number of escapes to
PHP delimiters
PHP is a Web programming language. In the programming process, it is inevitable that echo will be used to output large html and javascript scripts. If the traditional output method is used-output by string, there must be a large
(1) What is the difference between single and double quotation marks?1, can be used to escape the range, the single quotation mark can only escape the single quotation mark \ ', double quotation marks except single quotation mark cannot escape,
(1) What is the difference between single and double quotation marks?
1, can be used to escape the range, the single quotation mark can only escape the single quotation mark \ ', double quotation marks except single quotation mark cannot escape,
PHP is a web programming language, in the programming process will inevitably encounter the use of echo to output a large segment of HTML and JavaScript script, if the traditional output method-by the string output, there must be a large number of
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.