The picture below shows the performance test of different versions of PHP, using the bench.php test script (this script has been available since PHP 5.1). The vertical axis is the time to complete the test, so the smaller the number, the better the score.
The general steps of testing:
Get the latest code for each version from PHP 5.1 to 5.4
Compile using the most basic default configuration without any extensions
Run bench.php 10 times and collect data
Take the average and use Google Chart to display
The original data is as follows: