Jump to content

Zend Engine: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Alphabetized the categories.
Rescuing 1 sources and tagging 1 as dead. #IABot (v1.1)
Line 59: Line 59:
==External links==
==External links==
* [http://www.zend.com/products/zend_engine Zend Engine Homepage]
* [http://www.zend.com/products/zend_engine Zend Engine Homepage]
* http://www.zend.com/engine2/ZendEngine-2.0.pdf
* http://web.archive.org/web/20110813194014/http://www.zend.com/engine2/ZendEngine-2.0.pdf
* [http://www.zend.com/license/2_00.txt The Zend Engine License, version 2.00]
* [http://www.zend.com/license/2_00.txt The Zend Engine License, version 2.00]
* https://wiki.php.net/internals/engine
* https://wiki.php.net/internals/engine
* http://git.php.net/repository/php-src.git
* http://git.php.net/repository/php-src.git{{dead link|date=July 2016 |bot=InternetArchiveBot |fix-attempted=yes }}
* https://github.com/php/php-src
* https://github.com/php/php-src
* [http://php.net/manual/en/internals2.ze1.php Zend Engine 1]
* [http://php.net/manual/en/internals2.ze1.php Zend Engine 1]

Revision as of 10:36, 21 July 2016

Zend Engine
Original author(s)Andi Gutmans, Zeev Suraski
Developer(s)Zend Technologies, PHP Core Developers (various contributors)
Initial release1999
Stable release
3.0 (PHP 7.0.0)
Repository
Written inC
TypeScripting engine
LicenseZend Engine License (some parts are under the PHP License)
Websitephp.net

The Zend Engine is the open source scripting engine that interprets the PHP programming language. It was originally developed by Andi Gutmans and Zeev Suraski while they were students at the Technion - Israel Institute of Technology. They later founded a company called Zend Technologies in Ramat Gan, Israel. The name Zend is a combination of their forenames, Zeev and Andi.

The first version of the Zend Engine appeared in 1999 in PHP version 4.[1] It was written in C as a highly optimized modular back-end, which for the first time could be used in applications outside of PHP. The Zend Engine provides memory and resource management, and other standard services for the PHP language. Its performance, reliability and extensibility played a significant role in PHP's increasing popularity.

This was followed by Zend Engine II at the heart of PHP 5.

The newest version is Zend Engine III,[2] originally codenamed phpng, which was developed for PHP 7 and significantly improves performance.

The source code for the Zend Engine has been freely available under the Zend Engine License (although some parts are under the PHP License) since 2001[citation needed], as part of the official releases from php.net, as well as the official git repository or the GitHub mirror. Various volunteers contribute to the PHP/Zend Engine codebase.

Architecture

Zend Engine is used internally by PHP as a compiler and runtime engine. PHP Scripts are loaded into memory and compiled into Zend opcodes. These opcodes are executed and the HTML generated is sent to the client.[3]

To implement a Web script interpreter, you need three parts:

  • The interpreter part analyzes the input code, translates it, and executes it.
  • The functionality part implements the functionality of the language (its functions, etc.).
  • The interface part talks to the Web server, etc.

Zend takes part 1 completely and a bit of part 2; PHP takes parts 2 and 3.

Zend itself really forms only the language core, implementing PHP at its very basics with some predefined functions.

Zend Engine Internal structure

References

  1. ^ "Zend's History with PHP". Zend Technologies.
  2. ^ "Merge branch 'ZendEngine3'". GitHub. 5 December 2014. Retrieved 5 December 2014.
  3. ^ "PHP - What is zend engine?". careerride.