Home >Backend Development >PHP Tutorial >What are the core parts of php?
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.
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!