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 06/22/2018

<<< Results of 06/11/2018

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.2.4 0.98728 1.52793 0.17231 0.30522 2.99274 sec.
7.1.0 0.12520 0.00000 0.00000 0.00000 0.12520 sec.
7.0.14 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.3 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.2 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.1 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.29 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.20 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.19 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.18 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.17 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.2 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.34 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.33 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.32 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.31 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.18 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.0.a6 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.0.a.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.0.a.2 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.34 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.21 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.13 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.12 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.11 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.10 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.9 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.8 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.7 0.00000 3.24014 0.00000 0.00000 3.24014 sec.
5.4.6 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.4 0.00000 0.68937 0.61263 0.83228 2.13428 sec.
5.4.3 2.10648 2.51050 0.61426 0.79160 6.02285 sec.
5.4.2 1.81762 2.02233 0.67378 0.85178 5.36552 sec.
5.4.1 1.81143 2.34308 0.55695 0.90639 5.61784 sec.
5.4.0 2.06448 2.23750 0.62638 0.88781 5.81616 sec.
5.3.29 2.19818 2.45269 0.81531 1.53329 6.99947 sec.
5.3.27 2.23749 2.18287 0.88547 1.38794 6.69377 sec.
5.3.23 2.14566 2.04012 0.82566 1.38156 6.39301 sec.
5.3.22 2.12052 2.23886 0.88222 1.46899 6.71059 sec.
5.3.21 2.32927 2.24670 0.91239 1.37847 6.86683 sec.
5.3.20 2.31081 2.12293 0.84212 1.43356 6.70941 sec.
5.3.19 1.83552 2.34605 0.78885 1.22592 6.19634 sec.
5.3.18 1.95345 2.03705 0.85245 1.43424 6.27719 sec.
5.3.17 2.12557 2.23534 1.00933 1.37792 6.74816 sec.
5.3.16 2.41315 2.23352 0.88210 1.45085 6.97963 sec.
5.3.15 2.27756 2.04314 0.80040 1.54581 6.66691 sec.
5.3.14 2.03284 2.12354 0.88544 1.46480 6.50661 sec.
5.3.13 2.27473 4.45455 0.97528 1.44304 9.14760 sec.
5.3.12 2.12585 2.29371 0.73889 1.56446 6.72291 sec.
5.3.11 2.18089 2.35223 0.88940 1.37995 6.80247 sec.
5.3.10 2.07536 2.37687 0.87855 1.53370 6.86447 sec.
5.3.2 2.09015 2.43656 0.89898 1.38628 6.81198 sec.
5.3.1 2.24015 2.42411 0.79962 1.34730 6.81117 sec.
5.3.0 1.83122 2.16085 0.77033 1.50120 6.26360 sec.
5.2.17 2.33740 2.42951 1.28237 3.10174 9.15103 sec.
5.2.16 1.96496 2.57309 1.22695 3.00292 8.76792 sec.
5.1.6 2.09872 2.95596 1.35340 2.69974 9.10782 sec.
5.1.5 2.15480 2.53329 1.22889 2.73773 8.65470 sec.
5.0.5 3.77998 3.81003 5.90428 7.38561 20.87990 sec.
5.0.4 2.96263 3.78425 5.35336 8.45129 20.55153 sec.
4.4.9 2.85291 3.21619 5.11679 6.75478 17.94067 sec.
 


 


 


Comments

 
 
 
      © 2018 OnlinePHPFunctions.com | Disclaimer |       PHP versions: 7.2.4, 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