Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the major modules of php

Shulou Source: shulou.com Published: 2022-06-03 09:51:10 11月15日 Update

Php has which modules, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

Php has three modules: 1, php kernel, used to handle requests, file streams, error handling, etc.; 2, zend engine, used to convert source files into machine language, and then run on the zend virtual machine; 3, php extension layer, which is a set of functions, class libraries and streams, used to perform some specific operations.

Operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer

Php consists of three modules: the php kernel, the zend engine, and the php extension layer.

Kernel: used to handle requests, file streams, error handling and other related processing

Zend engine: converts the source file into machine language (actually bytecode opCode) and then runs it on the zend virtual machine (this is similar to the java virtual machine)

The extension layer is a set of functions, class libraries, and streams that php uses to perform specific operations, such as the need to use mysql extensions (the extension file entity is: PhpRoot/ext/php_mysql.dll

Zend modules include:

Zend engine, this is the lowest level.

Zend api

Zend extensions, an extension of the zend engine. For example, the most famous one is: php_xdebug_version..._vc6.dll

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Engine processing module kernel file function machine source file language error help run name clear content byte entity actually actually for this Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Tech Info Apple MySQL Linux