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.5
To implement a Web script interpreter requires three parts:
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". PHP Internals Book. Retrieved 4 October 2021. http://www.phpinternalsbook.com/php7/zend_engine.html ↩
"Zend's History with PHP". Zend Technologies. http://www.zend.com/en/community/php/ ↩
"PHP: General Information - Manual". php.net. Retrieved 22 November 2019. https://www.php.net/manual/en/faq.general.php#faq.general.relation-versions ↩
Gutmans, Andi (14 July 1999). "- License update · php/php-src@fec59d3". Retrieved 26 December 2021. https://github.com/php/php-src/commit/fec59d3b4da7fdc111dd0af19a4b0488dc817fc7 ↩
"PHP - What is zend engine?". careerride. http://www.careerride.com/PHP-zend-engine.aspx ↩