News

Upgrading to PHP 7
|

Upgrading to PHP 7

Added on Wednesday 25th July 2018 at 01:01am

I'd like to apologise as this is going to be quite a technical post about the code that runs our websites and web applications. Some people find this a bit boring!

PHP is the programming language that we use to develop our websites and online systems. We are currently using a mixture of PHP 5 sub versions (a sub version would be PHP 5.6). In December 2015, PHP 7 was launched. Don't ask about PHP 6 (that never happened!).

We've been carefully planning and slowly moving our code base over to PHP 7 for a while now. We are currently using the latest version which is PHP sub version 7.2 as this is the fastest and most secure release yet.

What benefits does PHP 7 have over PHP 5?


This has been a long process and something that does not happen overnight. It requires lots of testing and experimenting. You may wonder if it's worth all of the work? It certainly is! Here are a few benefits:
  • For many applications and code bases, PHP 7 has considerable speed increases.
  • Lots of old code and features have been removed from PHP 7, this means that the code is generally more secure as the old and insecure stuff is no longer available to use.
  • New features and code have been added into PHP 7 meaning that certain things can be created much more elegantly and optimised.
  • PHP 5.6 which is the last version available in the 5 version will lose all support (including security) in December 2018. The version we are using will not lose all support until November 2020.
When it comes down to updates then it's often best to try and be as up to date as possible. The latest updates often fix security vulnerabilities, speed things up, get rid of bugs and offer new features.

If you would like your new website or web application to be running on PHP 7 or if you are interested in any of our graphic design or email marketing services then please feel free to contact us via telephone on 01476 576 839 or email on thrive@hattrickmedia.co.uk.

Image Attribution


This articles image (the PHP logo found above or to the right) has been downloaded from the official PHP website. More information can be found on this page: http://php.net/download-logos.php and the license information for the logo can be found here: https://creativecommons.org/licenses/by-sa/4.0/.