This morning, I read a comment by one of our online community members discussing some of the reasons for the slow adoption of PHP 8. One member said that this is due to PHP compatibility issues in the new release. Conversely, another put down the fact that significant software/frameworks didn’t support PHP 8 until recently. I think there is truth in both of those reasons and they are tied to each other.
PHP 8 was released in November 2020, and until May 2022, only about 3% of PHP-based websites currently use it, However, it has taken a lot of software/frameworks a long time to actually reach full PHP 8 support – for example, WordPress, Magento, MediaWiki, Joomla, and others mentioned by Cindy. Furthermore, going forward, Microsoft will not support PHP 8,
Gradual adoption of PHP 8. Why?
Maybe PHP’s lifecycle is too fast for organizations to keep up with? This is one of the questions that came to my mind when I found out that more than half of all PHP websites are still running PHP 7, which loses security support in six months,
Actually it is not so. It’s not just a PHP problem. It is across the board. Enterprise Space hates upgrading and wants to stay on the currently installed version for as long as possible. This is a problem faced by many people from Windows 8 to MySQL 8 to RHEL 8. Maybe it’s something about the version.8’s, laugh out loud
Companies are hesitant to upgrade due to compatibility issues and concerns about service disruptions, so they delay upgrades instead. It’s only when the upgrade urgency becomes critical that some companies and small business websites consider upgrading. Still, some people let things go with the older, slower and less secure releases because they cling to some of the security it offers. backport,
have a look at:
Why upgrade to PHP 8?
Source: php.watch/articles/win-in-depth – PHP 8’s JIT is faster!
If you want to upgrade to PHP 8 now, read this: PHP 8 compatibility check and performance tips.
was on php 7 least 2x faster than PHP 5.6. For PHP 7 vs PHP 8, the improvements are not as drastic, but based on several Standard, it is more than enough to be Meaningful, Apart from speed, PHP 8 offers new features such as the much-awaited Just In Time (JIT) Compiler (see benchmark above), other performance optimizations, and built-in/core JSON support, to name a few,
Keeping PHP up to date is essential for security reasons. In addition to security, fast PHP performance is important as end users are becoming less tolerant of slow websites and applications. According to various benchmarks of the web, PHP 8 is significantly faster than PHP 7. Finally, it’s time to upgrade your application to PHP 8!
So why only 3% of PHP websites have PHP 8 installed? Well, it comes down to the culture of the industry. It’s not just a PHP problem.
This is a follow-up article to 78% of the web powered by PHP (3% on PHP 8).