Here I run the PHP benchmark script on my Virtualbox guest OS Ubuntu 16.04. Every version of PHP I tested 7 times. So get rid of the highest one, and the lowest one. Get the average of the rest five scores. php5.6.39 The average is 5.13 seconds. php 7.1.25 The average is 1.859 seconds. php7.2