Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
The name of the Zend Engine is a combination of the names of two senior designers, Zeev Suraski and Andi Gutmans, who work as core developers in PHP. the developer aims to develop a new script execution mechanism, and PHP4 is the first implementation product of the new Zend Engine. In some special test environments, the execution speed of Zend (PHP $) is several to several hundred times faster than that of PHP3 and ASP, this also means that the website's backend CGI interface is not a PHP4 Zend. (Of course, technology is constantly improving. Maybe a new engine will emerge one day .)
After more than two years of development, the Zend Engine has become a generalized programming environment similar to the VBA function. It not only has the traditional PHP function, but also adds the function of distributed object (COM, and can be executed on different operating platforms. With this potential, the Terminator of VBA is not Zend.
Zend makes the most complete commitment to the session with the biggest defect before PHP3 in PHP4, and adds some future functions, such as CyberCash... and so on.
In the opensource community, PHP/Zend is the best example of the only one that can maintain consistency, but has not yet been regarded as a competitor by Microsoft. It has completely lost ASP behind it and is developing towards the VBA environment. Microsoft only tries its best to deal with Linux and does not notice any threats from PHP/Zend.
The Web server finds that PHP requires parsing by the PHP engine (based on the file extension), so it is sent to the Zend Engine of PHP4.
The Zend Engine reads files from the hard disk and sends them to the Zend online Compiler (Run-time Compiler) for literal translation. (Online compilation may be omitted after Zend Compiler is released in the future .)
The online execution unit (Excutor) of the Zend Engine executes the compiled PHP program. When necessary, find the relevant modules to perform cooperative actions (such as XML, IMAP, ODBC ).
Zend organizes the execution results into HTML files and sends them to the Web server.
The Web server sends the results over the network to the user's browser.
Zend has the following four types of products:
Zend Engine: currently, Zend Engine is only a PHP4 product and provides functions similar to Microsoft VBA and cross-platform. The current popularity on the Internet has also given the best witness to the Zend Engine. Among Zend's four major products, this is currently the only mature product.
Zend Optimizer: The Zend Optimizer readjusts the PHP core to improve the efficiency of PHP program execution. It can speed up PHP code execution, reduce the CPU burden, and reduce the latent time.
Zend Cache: Zend Cache takes the PHP program to the memory of the Web server, so that the system no longer needs to read the PHP program from the hard disk, which can greatly shorten the system response time and reduce the network load. Data with Cache can be reduced without literal translation.
Zend Compiler: Zend Compiler is probably the most powerful weapon of Zend. It allows PHP program Code to exist in the form of Zend Intermediate Code (ZIC, Zend Intermediate Code) after compilation.
It can protect the source code of PHP and prevent users from seeing it. This ensures the security of the source code of PHP. The appearance of this product is expected to have a significant impact on the entire network. The PHP code library will be visible everywhere, and the software industry will also provide related function libraries or object libraries for PHP programmers. At that time, there may be PHP conflicts with Java.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.