We benchmarked 5 different PHP versions (7.2, 7.3, 7.4, 8.0, 8.1) for 14 different PHP platforms/configurations. That includes popular PHP platforms such as WordPress, Drupal, Laravel, Symfony, OctoberCMS, etc.
Summary: PHP 8.1 performs better on most platforms/configurations that do support it. In some cases, PHP 8.0 still performs better. And just like the last time around, in a few edge cases, older PHP versions perform better. For more information on the test methodology and detailed stats, please visit the source.
Takeaway: You should upgrade to PHP 8.0+ ASAP. With support for PHP 7.4 ending in November 2022, we highly recommend you update to it.
Summary: PHP 8.1 performs better on most platforms/configurations that do support it. In some cases, PHP 8.0 still performs better. And just like the last time around, in a few edge cases, older PHP versions perform better. For more information on the test methodology and detailed stats, please visit the source.
Takeaway: You should upgrade to PHP 8.0+ ASAP. With support for PHP 7.4 ending in November 2022, we highly recommend you update to it.