We recently updated the highest version of PHP that we provide to version 7.2, and in this blog we will be taking a look at some of the improvements this brings.

 

Performance improvements

According to benchmark tests that were run recently by Phoronix PHP 7.2 has been shown to run faster than 7.1 by 13%, faster than 7.0 by 20%, and is over 250% faster than PHP 5.6.

 

New features

Among other changes, PHP 7.2 has added functionality for some important security features.

These include Libsodium, which is an application-layer library of cryptography. Libsodium is used for password hashing, encryption and decryption. By adding Libsodium, PHP 7.2 can employ the latest techniques and methods in cryptography, and keep up to date with emerging security threats.

PHP 7.2 also supports the Argon2 password hashing algorithm. This new and improved algorithm makes it a much greater challenge for attackers to crack the user’s password, and the improvements also benefit document identification and encryption of Zip files.

 

Out with the old…

As with all updates to PHP, there are a number of functions that are deprecated as well as a number of functions that are not backward compatible. You can check these at the following links –

PHP 7.2 deprecated functions

PHP 7.2 incompatible functions

 

PHP 7.0 end of life

PHP 7.0 reached the end of security support on 3rd December 2017, and although support for critical issues will continue through until December 2018, the PHP community will no longer be supporting any minor bugs and flaws.

 

What now?

If you have any issues or questions about PHP 7.2, then please get in touch, our support team will be happy to help.