PHP7 already has stable version for production?

9

I'm thinking of building a new version of my company's current system, it's with PHP in version 5.5.9.

I would like to know if PHP 7 already has stable version to work in production, I saw many posts on the internet no one else spoke of stability.

    
asked by anonymous 15.12.2016 / 18:43

2 answers

16

When you are in doubt about information spread over the internet and you can not be sure if they are right (rightly) what should we do? Find the official site to see if there is anything there.

So let's go to the PHP site and we see that there speaks yes of version 7, already has some releases extras. You are already on the 7.1 at the time of this reply.

If it was not stable there would not be an official version. Of course you can always have some problem, you may have incompatibilities. You have to decide whether to live with it or not. There are a lot of people using it, some people have already decided not to use it, probably because of incompatibilities, and are many . That is, like everything, you have to decide on your own what is best for you.

It has improvements too .

Note that stability and maturity are different things. There is agreement on the part of developers and community that PHP 7 is ready for use. It does not mean that he does not have problems yet, it takes time to get mature and really everything is in order. Some products go years and do not mature.

    
15.12.2016 / 18:49
4

Yes, PHP 7 is stable already more than a year ago , released on December 5, 2015 . Currently the last stable version is 7.1,

To upgrade to the latest version, some incompatibilities may occur. Most striking might be removal of the old extension of mysql_* , discontinued since PHP 5.5 . For more details, since you are in version 5.5, see the upgrade guide for version 5.6 < a> and then to 7.0 and 7.1 .

You can follow the support status of PHP versions here . Even the version that you are using is no longer supported nor for security updates (which is already a reason to migrate).

Inadditiontothesecurityissue,PHP7bringsgreatperformanceimprovementsandmemoryconsumption,with running at up to 75% faster than version 5.6.

With this, I recommend everyone looking to use the latest stable version, unless there is a serious reason not to do so (having to adapt the code due to breaking changes is not a serious reason xD).

    
16.12.2016 / 06:07