How many modules does php have?

青灯夜游
Release: 2023-03-13 06:06:02
Original
2544 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template