PHP basic syntax (1) _ PHP Tutorial-php Tutorial

Source: Internet
Author: User
PHP basic syntax (1 ). Separating PHP scripts from HTML is caused by a pair of special tags in the file. when the interpreter analyzes a file, the interpreter does not perform any common files other than the special tag. Separating from HTML

PHP scripts are caused by a pair of special tags in a file. when the interpreter analyzes a file, the interpreter does not process all common files that are not marked, the file in the special mark will be analyzed and executed as the PHP code interpreter. This running mechanism will allow you to embed PHP code in HTML: content outside the PHP tag will be completely opened independently without any processing, and the internal content will be parsed as PHP code.

There are four sets of tags used to mark PHP code blocks, of which only two are always valid ( And

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.