Is php compiled or interpreted ???? I used php earlier. at that time, like asp, php was interpreted. later I read a book saying that php4 had made major changes and introduced the zend Engine, it uses "compile first and then execute". it is first compiled into an intermediate code and then executed by the zend Engine. net and java are similar? Is that true? Is php compiled or interpreted ????
I used php earlier. at that time, like asp, php was interpreted. later I read a book saying that php4 had made major changes and introduced the zend Engine, it uses "compile first and then execute". it is first compiled into an intermediate code and then executed by the zend Engine. net and java are similar? Is that true?
Is php compiled or interpreted ????
------ Solution --------------------
Compile or explain,
Think about it.
Are the compiled and executed parts separated?
Is the compiled intermediate code generated?
From these perspectives, you should come to the conclusion.
------ Solution --------------------
Let's explain it. Zend is just a framework
------ Solution --------------------
I don't need to discuss it anymore.
------ Solution --------------------
PHP has MEMCACHE or APC or eaccelerator cache.
After using it, it will be much faster, and it will be similar to the compilation type.
------ Solution --------------------
I don't need to say this cache when running PHP in the production environment ??
If you develop and debug PHP, it is best not to install it, because there will be problems when you change the permission but do not change the PHP source code, and no changes to the permission can be seen
At least in LINUX, WIN doesn't know.
------ Solution --------------------
Reference:
Reference:
I don't need to discuss it anymore.
How to explain "compile and execute first, compile to intermediate code first, and then run it by zend Engine"
That is just the feature of their framework.
------ Solution --------------------
Correct solution. the primary user shall judge it by himself.
I think it is a solution, because I didn't see any hosts file.