Home  >  Article  >  Backend Development  >  c# - What is the difference between the compilation and execution process of java and that of php?

c# - What is the difference between the compilation and execution process of java and that of php?

WBOY
WBOYOriginal
2016-12-01 01:27:45981browse

Java is first compiled into bytecode, and then the bytecode is finally generated into machine code using jvm for execution.
php is also first compiled into intermediate code and then handed over to zend virtual machine for execution.
So is there any difference in compilation principles between the two?

Reply content:

Java is first compiled into bytecode, and then the bytecode is finally generated into machine code using jvm for execution.
php is also first compiled into intermediate code and then handed over to zend virtual machine for execution.
So is there any difference in compilation principles between the two?

Statement:
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