The latest update to PHP7 is here… 7.2.0

Posted in PHP on 23 March 2018

This post has been archived

The content of this post has not been updated since 2018, and may be out of date. Extra care should be taken with any code provided.

This month PHP released the latest update PHP7.2.0. While PHP 7.2 is an improvement, it is not groundbreaking as the jump from PHP5.6 to PHP7.0. However the biggest change, having encryption as part of the standard library in PHP, is very exciting. As PHP7 evolves and developers get more interesting tools to work with there are more and more reasons for dumping PHP5 and embracing the change.

Amongst the security updates there are a few cool new features and a couple of significant deprecations. Carlo Daniele has compiled a list here.

Running web applications on PHP7.2.0

Magento2 & PHP7.2.0

If you’re running Magento2 now might not be the best time to upgrade your PHP installation. It is important to note that both each() and mcrypt() have been removed from PHP 7.2. So stick with PHP 7.1, it doesn’t reach its end of life until 2019. Full list M2 requirements from Magento.

Magento 1 & PHP7

Out-of-the-box Magento 1.X installs are not designed to run on PHP7 at all. If you really need to run Magento 1.X on PHP7 Inchoo have created an our open-source compatibility extension for Magento and PHP 7 with impressive speed improvements. Details here

WordPress & PHP7.2

As you’d expect as long as your WordPress install is up to date it’ll run fine.

Related PHP Posts

June 2024

Popular PHP frameworks

Here’s detailed look at some of the most popular PHP frameworks, each of which can help speed up development, improve code organisation, and enhance application... Continue reading

March 2024

PHP Security in 2024: navigating the evolving landscape

As PHP continues to evolve, so do the threats that target its vulnerabilities. Ensuring robust PHP security practices is paramount to safeguarding sensitive data and... Continue reading

December 2022

Quick Start Guide for Laravel on a PHP Server

Laravel is a powerful and popular PHP framework designed to make web development easier and more efficient. This quick start guide will help you set... Continue reading

More PHP Posts