PHP Benchmarks: 8.5 vs 8.4, 8.3 and 7.4
Each year, right on schedule, a new version of PHP is released at the end of November.
So, how much faster is this new release across popular frameworks and applications?
Our tests show that, in general, the performance between 8.2, 8.3, 8.4 and 8.5 does not move much for a Laravel, Symfony and WordPress demo application.
Moving to the newest PHP version isn’t a magic shortcut to better performance.
Not everything is bleak, though. In our post on PHP 8.5 Performance, Operations, and Debugging, we highlight several concrete ways to leverage new features to boost performance.
Keep in mind, however, that these improvements are only relevant if you use the corresponding functionality and may require some effort to integrate.
The most significant factor for performance is your application architecture and the code you write. To identify where to begin optimizing your application, Tideways—our production-ready profiling and monitoring tool—can help pinpoint areas for improvement.
To benchmark PHP, we have set up these popular PHP projects:
- Symfony with PHP 8.5, 8.4, 8.3, and 8.2
- WordPress with PHP 8.5, 8.4, 8.3, and 7.4
- Laravel with PHP 8.5, 8.4, 8.3, 8.2
Our intention is to give you a rough idea of how much performance is improved as a percentage by just updating the PHP version.
WordPress supports many PHP versions in parallel, so we use it as a good yardstick for performance changes from PHP 7 to 8.5.
Setup
The benchmarking is done under these conditions:
- Code and Infrastructure Provisioning: github.com/tideways/php-benchmarks
- Machine: Hetzner CCX 33 (8 dedicated vCores on AMD)
- OS: Debian 13 („Trixie“)
- Database:
- MySQL 8.4.7 for WordPress and Laravel
- SQLite 3 for Symfony
- PHP (all built by deb.sury.org): 7.4.33, 8.2.29, 8.3.27, 8.4.14, 8.5.0 RC 3
- JIT not enabled
- FPM with static pool and 17 workers.
- Projects: Laravel 12.37.0, Symfony 7.3.6, WordPress 6.8.3
- Vegeta v12.12.0
- HAProxy 3.0.11
You can find more on methodology after the results.
Results
Symfony
Upgrading just PHP 8.4 to 8.5 makes the Symfony demo application run with almost the same performance when simulating a fixed number of 100 requests/minute. Fluctuations are within the margin of error.

When run with 15 concurrent requests, the requests/seconds also do not vary significantly between PHP versions:

Laravel
Upgrading just PHP 8.4 to 8.5 shows no visible difference to response times of the Laravel demo application.

And the requests/seconds are close to each other as well.

WordPress
Similar with WordPress, upgrading from PHP 8.4 to 8.5 shows no significant change in response times.

And the requests/seconds for 15 concurrent users are close to each other, with only PHP 7.4 showing a ~5% lower number.

❗With Tideways PHP Profiler, you can find bottlenecks in your application code by continuously profiling the production environment at low overhead. Get your free 14 -day trial to start optimizing.
More Notes on Methodology
With benchmarking, the results heavily rely on the assumptions and setup. There are a few changes we have made to other popular PHP benchmarks, and we want to discuss our methodology here.
We run the benchmarks in two modes:
- With fixed requests per second, with a focus on response times
- With a fixed level of concurrency, with a focus on requests per second.
Why do we not only report performance in requests per second? Other benchmarks often compare if a new PHP version can serve more requests per second. They do this by running as many requests as possible with a fixed number of concurrent threads that create new requests.
This provides synthetic or artificial comparisons because for real-world scenarios you would never run your PHP application at the limit of capacity and getting as many requests out as possible.
Instead, response time or time-to-first-byte (TTFB) under regular load is what you are interested in to understand how performance affects real users.
We don’t run the tests with very high concurrency because we want to make sure the numbers reflect PHP performance, not the operating system’s process scheduler, thus no CPU contention is happening.
What’s next?
- Sign Up for our Newsletter if you don’t want to miss the next post on our blog.
- Start your 14 days free trial of Tideways for effortless performance insights into your PHP application.
Is PHP 8.5 faster than previous versions?