PHP execution process, php execution _ PHP Tutorial

Source: Internet
Author: User
PHP execution process, php execution. PHP execution process, php execution process any language of the source code computer can not be directly executed, need to be converted into computer recognition machine commands. PHP also executes the PHP execution process.
PHP execution process

Source code computers in any language cannot directly execute the commands, and must be converted into machine commands that can be recognized by computers.

PHP is also a high-level language and requires compilation (explanation)

PHP parsing process:

1. Request source code for lexical parsing and syntax parsing.

Lexical parsing mainly reads, judges, and analyzes words in the source code one by one. If an error occurs during lexical parsing, an error is returned. Compilation error.

Syntax parsing mainly determines whether the syntax structure is correct. For example, whether the process control structure is complete.

Result: the machine code is executable.

2. Execute. during execution, the main task is to perform memory operations. during execution, errors may occur. in this case, the error attribute is incorrectly executed.

Result: pure html code.

Illustration:

In the execution process of PHP, the source code computers in any language cannot be directly executed, and the commands must be converted into machine commands that can be recognized by the computer. PHP too...

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.