Home>Article>Backend Development> What are the core parts of php?

What are the core parts of php?

藏色散人
藏色散人 Original
2019-05-06 10:40:41 4277browse

PHP is a powerful server-side scripting language for creating dynamic interactive sites; the core parts of PHP include external modules such as SAPI and PHP extensions, the PHP kernel and the Zend virtual machine.

What are the core parts of php?

The core part of php:

SAPI

This is The interface between PHP and the web server is very important.

PHP extension and other external modules

Complete most of the script functions such as database calling, data exchange, and data encryption.

PHP kernel

The PHP kernel obtains the environment variable information passed by the server, calls PHP functions, classes, and extension modules, coordinates PHP operation, and prepares for compilation.

Zend Virtual Machine

Completes lexical analysis, syntax analysis, semantic analysis, intermediate code generation, code optimization, target code generation and other core functions, and is responsible for PHP code compilation and execution .

The above is the detailed content of What are the core parts of php?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is a php website? Next article:What is a php website?