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.
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.
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…
As you’d expect as long as your WordPress install is up to date it’ll run fine.
March 2024
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 "PHP Security in 2024: navigating the evolving landscape"
August 2021
This PHP function accepts a public Google Sheets URL and converts it into a PHP array. You can use the array to either display the... Continue reading "Google Sheets to PHP Array"
March 2021
The following post will explain how to use PHP/cURL to retrieve data in JSON or XML and process it for using in your PHP application... Continue reading "PHP cURL Requests with JSON or XML"