Can PHP 7 be directly used for production now?

Source: Internet
Author: User
The company wants to configure a new server. I heard that PHP7 is very efficient now, but I don't know if PHP7 can be directly used in the production environment now. Are there any bugs or potential vulnerabilities ??? The company wants to configure a new server. I heard that PHP7 is very efficient now, but I don't know if PHP7 can be directly used in the production environment now. Are there any bugs or potential vulnerabilities ???

Reply content:

The company wants to configure a new server. I heard that PHP7 is very efficient now, but I don't know if PHP7 can be directly used in the production environment now. Are there any bugs or potential vulnerabilities ???

My company's self-developed project is on PHP7.
In my experience, I 'd like to tell you a few notes for migrating data to PHP 7.

  1. Some special usage or functions of PHP7 are discarded.
    If your project is self-written and completely independent from external frameworks, you are relatively easy to know whether these obsolete functions are used. However, if your project depends on a framework, especially the old version of a framework, or an external library (such as dependencymysql_*Function database class), you need to know whether the framework is compatible with PHP 7, which is cumbersome.In particular, the upgrade from the current version to the 5.6 version is not compatible.

  2. Extensions of external dependencies may not start to support or support PHP7 well.
    Redis PHP 7 has been release, but whether your project depends on some other extensions also requires one-by-one troubleshooting.

References

  1. Changes to backward compatibility of PHP 7

There must be bugs. potential vulnerabilities cannot be said to be none, at least not found at present.

A bunch of applications have been on PHP7 long ago, including Weibo. My personal project https://laravist.com is also a PHP 7 project. The performance has improved a lot, so don't worry. use it directly.

Just try it.

You can try it. we saw that PHP 7 was being pushed at the developer conference.

No problem at all. if you don't believe it, you can ask laruence.

You can use it with confidence. laruence said that he fixed the bug directly.

My business project has been using PHP7 for a long time and there is no problem.

Sisters

My blog has been upgraded since php7 was released.
The company's production environment has not yet been upgraded
Upgrade php7 for new projects after php7 is a trend

The newer the version, the more unstable

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.