PHP versions benchmark chart done on a cPanel shared hosting environment with Litespeed.
The benchmarks were run 3 times for each version and are the average time in seconds taken to complete, faster is better.
PHP versions included are: 5.6, 7, 7.1, 7.2, 7.3, 7.4, 8 and 8.1
PHP version 8.1 is the fastest by almost 1 second compared to the second-fastest which was version 7.3
PHP 8.0 was slower than 7.2 and 7.3 whilst basically tying with version 7.4