Is php compiled or interpreted? What should I do?

Source: Internet
Author: User
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 ????, Compile or explain. can php be compiled or interpreted now ????
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 --------------------
Discussion

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"

------ 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.