Scout APM helps PHP developers pinpoint N+1 queries, memory leaks & more so you can troubleshoot fast & get back to coding faster. Start your free 14-day trial today.

PHP performance across versions

Do you need a reason besides awesome syntax to update to the latest PHP version? Is performance a good one?

I did some casual benchmarks on a WordPress installation from PHP 5.6 to PHP 8.1, here are the results:

Noticed a tpyo? You can submit a PR to fix it. If you want to stay up to date about what's happening on this blog, you can follow me on Twitter or subscribe to my newsletter: