9
I am thinking of building a new version of the current system of my company, it is with PHP in version 5.5.9.
PHP 7 already has stable version to work in production? I saw many posts on the Internet but nobody said anything about stability.
9
I am thinking of building a new version of the current system of my company, it is with PHP in version 5.5.9.
PHP 7 already has stable version to work in production? I saw many posts on the Internet but nobody said anything about stability.
17
When you are in doubt about information spread on the internet and you can’t be sure if they are true (with all reason) what should we do? Find the official site to see if there’s anything there.
So let’s go on the PHP website and we see that there speaks yes of version 7, already have some releases extras. Already in the 7.1 at the time of this reply.
If it was not stable there would be an official version. Of course it can always have some problem, it can have incompatibilities. You have to decide whether to live with it or not. There are many people using it, there are those who have decided nay use, probably because of incompatibilities, and are many. That is, like everything else, you have to decide on your own what is best for you.
Her has also improved.
Note that stability and maturity are different things. There is agreement on the part of the developers and community that PHP 7 is ready for use. It does not mean that he still has no problems, it takes time to reach maturity and really be all in order. Some products spend years and do not become mature.
5
Yes, PHP 7 is stable now for more than a year, launched in 5 de December de 2015. Currently the latest stable version is 7.1, launched in December of that year.
To upgrade to the latest version, some incompatibilities may occur. The most impactful may be the removal of the old extension of mysql_*
, discontinued since PHP 5.5.
For more details, as you are in version 5.5, see upgrade guide to the version 5.6 and then to the versions 7.0 and 7.1.
You can track the support status of PHP versions here. Even the version you’re using no longer has support for security updates (which is already a reason to migrate).
Besides the security issue, PHP 7 brings great improvements in performance and memory consumption, being run at up to 75% faster that version 5.6.
With this, I recommend everyone to seek 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).
Browser other questions tagged php php-7
You are not signed in. Login or sign up in order to post.
I have the 7 running in test mode on the company server and for now I have no complaint.
– Jorge B.