Online PHP Function(s){ #Test PHP functions online!; }

  •  
 

PHP versions Benchmark

What PHP version is the fastest? I do a benchmark every week with all PHP versions installed on this website.

Specs of the machine

The benchmarks run on an openVZ VPS with 512MB ram and 2 cores ( Intel Xeon i7 W3520 ), the very same machine that handles all user PHP requests from this website.
Software installed: Minimal Centos 6.5, nginx and all phpversions this website uses.

How is it benchmarked?

This script is executed 100 times on every PHP version, takes the average score, and stores it in the database.
Download benchmark script

Results of 05/28/2018

<<< Results of 05/21/2018     |     Results of 06/04/2018>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.2.4 0.79869 1.00664 0.25019 0.43466 2.49018 sec.
7.1.0 0.38014 0.55197 0.14613 0.23689 1.31512 sec.
7.0.14 0.37594 0.59803 0.18962 0.22415 1.38774 sec.
7.0.5 0.37229 0.54293 0.15002 0.26530 1.33054 sec.
7.0.4 0.37823 0.57872 0.15141 0.23250 1.34087 sec.
7.0.3 0.46112 0.76715 0.15696 0.21891 1.60414 sec.
7.0.2 0.37700 0.54082 0.18901 0.22805 1.33488 sec.
7.0.1 0.57333 0.63369 0.15444 0.27885 1.64031 sec.
5.6.29 1.29876 1.33337 0.46839 0.65381 3.75433 sec.
5.6.20 1.25705 1.38399 0.46662 0.61755 3.72521 sec.
5.6.19 1.37595 1.59627 0.63320 0.74245 4.34787 sec.
5.6.18 1.38838 1.35895 0.46412 0.62795 3.83940 sec.
5.6.17 1.19875 1.39729 0.52686 0.71369 3.83660 sec.
5.6.2 1.35414 1.56901 0.47865 0.61551 4.01730 sec.
5.5.34 1.19307 1.34744 0.45497 0.64418 3.63965 sec.
5.5.33 1.26572 1.44482 0.46591 0.63506 3.81151 sec.
5.5.32 1.28313 1.37335 0.45788 0.66669 3.78106 sec.
5.5.31 1.39374 1.34118 0.48688 0.66011 3.88191 sec.
5.5.18 1.41647 1.50436 0.47106 0.63646 4.02834 sec.
5.5.5 1.34863 1.50544 0.49009 0.64580 3.98997 sec.
5.5.0.a6 1.47783 1.48626 0.49081 0.64544 4.10034 sec.
5.5.0.a.5 1.54600 1.60072 0.49411 0.64521 4.28604 sec.
5.5.0.a.2 1.31762 1.54601 0.48497 0.65555 4.00415 sec.
5.4.34 1.65092 1.66102 0.47125 0.65560 4.43878 sec.
5.4.21 1.43122 1.51218 0.44999 0.64458 4.03797 sec.
5.4.13 1.37322 1.58323 0.46342 0.64652 4.06639 sec.
5.4.12 1.37202 1.54626 0.53844 0.63286 4.08958 sec.
5.4.11 1.38549 1.58813 0.45731 0.69757 4.12849 sec.
5.4.10 1.34485 1.50621 0.45890 0.65412 3.96408 sec.
5.4.9 1.36564 1.48444 0.45890 0.66112 3.97011 sec.
5.4.8 1.33753 1.64460 0.46164 0.67743 4.12119 sec.
5.4.7 1.36329 1.56920 0.48583 0.65600 4.07432 sec.
5.4.6 1.40337 1.59776 0.47589 0.64437 4.12139 sec.
5.4.5 1.40889 1.54759 0.46553 0.78582 4.20783 sec.
5.4.4 2.65786 1.56643 0.45723 0.64048 5.32200 sec.
5.4.3 1.36458 1.54230 0.45430 0.66393 4.02511 sec.
5.4.2 1.46118 1.48075 0.47936 0.65936 4.08065 sec.
5.4.1 1.36512 1.51213 0.45264 0.63943 3.96933 sec.
5.4.0 1.36385 1.48588 0.45980 0.64624 3.95577 sec.
5.3.29 1.45201 1.62876 0.72309 1.15845 4.96230 sec.
5.3.27 1.57632 1.72929 0.68463 1.17303 5.16327 sec.
5.3.23 1.60713 1.61988 0.68103 1.17859 5.08663 sec.
5.3.22 1.47511 1.58601 0.66663 1.18047 4.90822 sec.
5.3.21 1.53448 1.59734 0.67458 1.12865 4.93505 sec.
5.3.20 1.46126 1.58401 0.67075 1.15517 4.87119 sec.
5.3.19 1.53945 1.67390 0.68803 1.23243 5.13381 sec.
5.3.18 1.54393 1.68005 0.68519 1.15109 5.06026 sec.
5.3.17 1.44725 1.58072 0.66942 1.13577 4.83316 sec.
5.3.16 1.45752 1.57300 0.71663 1.18167 4.92882 sec.
5.3.15 1.43754 1.54941 0.72775 1.09138 4.80608 sec.
5.3.14 1.57035 1.66819 0.67814 1.12352 5.04021 sec.
5.3.13 1.64509 1.68386 0.75585 1.07839 5.16318 sec.
5.3.12 1.57367 1.67483 0.69287 1.12984 5.07121 sec.
5.3.11 1.57553 1.65244 0.68273 1.12253 5.03324 sec.
5.3.10 1.52535 1.63042 0.67022 1.14175 4.96774 sec.
5.3.2 1.56779 1.66646 0.67775 1.11318 5.02518 sec.
5.3.1 1.70198 1.69964 0.73785 1.16173 5.30121 sec.
5.3.0 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.2.17 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.2.16 0.00000 0.34414 0.98494 2.07929 3.40837 sec.
5.1.6 1.67455 2.15981 0.93023 2.06217 6.82676 sec.
5.1.5 1.45611 2.18648 0.98981 2.13300 6.76539 sec.
5.0.5 2.59622 3.25271 4.44405 6.23131 16.52429 sec.
5.0.4 2.29893 2.95763 4.46175 5.88663 15.60495 sec.
4.4.9 2.19488 2.84799 4.28443 5.56016 14.88745 sec.
 


 


 


Comments

 
 
 
      © 2019 OnlinePHPFunctions.com | Disclaimer |       PHP versions: 7.3.5, 7.2.18, 7.2.4, 7.1.29, 7.1.0, 7.0.14, 7.0.5, 7.0.4, 7.0.3, 7.0.2, 7.0.1, 5.6.29, 5.6.20, 5.6.19, 5.6.18, 5.6.17, 5.6.2, 5.5.34, 5.5.33, 5.5.32, 5.5.31, 5.5.18, 5.5.5, 5.5.0.a6, 5.5.0.a.5, 5.5.0.a.2, 5.4.34, 5.4.21, 5.4.13, 5.4.12, 5.4.11, 5.4.10, 5.4.9, 5.4.8, 5.4.7, 5.4.6, 5.4.5, 5.4.4, 5.4.3, 5.4.2, 5.4.1, 5.4.0, 5.3.29, 5.3.27, 5.3.23, 5.3.22, 5.3.21, 5.3.20, 5.3.19, 5.3.18, 5.3.17, 5.3.16, 5.3.15, 5.3.14, 5.3.13, 5.3.12, 5.3.11, 5.3.10, 5.3.2, 5.3.1, 5.3.0, 5.2.17, 5.2.16, 5.1.6, 5.1.5, 5.0.5, 5.0.4, 4.4.9