Home  >  Article  >  Backend Development  >  How many modules does php have?

How many modules does php have?

青灯夜游
青灯夜游Original
2021-09-26 13:32:472473browse

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

How many modules does php have?

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

php includes a total of 3 modules: php kernel, zend engine, php extension layer.

  • Kernel: Used to handle requests, file streams, error handling and other related processing
  • zend engine: Convert source files into machine language (actually bytecode opCode), Then run 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. PHP uses them to perform some specific operations, such as the need to use mysql extension. (The extension file entity is: PhpRoot/ext/php_mysql.dll


##zend module includes:

  • zend engine, this is the lowest level.

  • zend api

  • zend extensions, extensions of zend engine. For example, the most famous Is: php_xdebug_version..._vc6.dll

Recommended learning: "

PHP Video Tutorial"

The above is the detailed content of How many modules does php have?. 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