Draw the architecture of Zend engine?

Answer Posted / vijaya

The Zend Engine is the internal compiler and runtime engine
used by
PHP4. Developed by Zeev Suraski and Andi Gutmans, the Zend
Engine is an
abbreviation of their names. In the early days of PHP4, it
worked as
follows:




The PHP script was loaded by the Zend Engine and compiled
into Zend
opcode. Opcodes, short for operation codes, are low level binary
instructions. Then the opcode was executed and the HTML
generated sent
to the client. The opcode was flushed from memory after
execution.Today, there are a multitude of products and
techniques to help you
speed up this process.

In the following diagram, we show the how modern
PHP scripts work; all the shaded boxes are optional.




PHP Scripts are loaded into memory and compiled into Zend
opcodes.

(oops..i couldn't copy the images. is there any other way to
post them?)

Is This Answer Correct ?    30 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to assigning a new character in a string?

578


Tell me how to create a session? How to set a value in session? How to remove data from a session?

506


Explain preg_Match and preg_replace?

552


What is final class and final method in php?

558


A process can run only in the background. State Whether True or False?

624






What is query string php?

540


What is $row in php?

539


How does php sessions work?

524


Tell me what the difference between the 'bitwise and' operator and the 'logical and' operator?

531


What is a variable cost example?

555


What does the unlink() function mean?

579


What is use of in_array() function in php?

541


How to get best php developer Experience in Php with Sugar CRM / VTiger.

3973


What does sign mean php?

561


Can the value of a constant change during the script's execution?

547