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/07/2018

<<< Results of 04/30/2018     |     Results of 05/14/2018>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.2.4 0.87239 0.88932 0.14016 0.23782 2.13969 sec.
7.1.0 0.39173 0.57409 0.15509 0.31072 1.43162 sec.
7.0.14 0.37133 0.59182 0.20696 0.23724 1.40734 sec.
7.0.5 0.43982 0.63215 0.16564 0.26845 1.50607 sec.
7.0.4 0.42688 0.57932 0.16196 0.23489 1.40305 sec.
7.0.3 0.43712 0.58030 0.14951 0.23264 1.39956 sec.
7.0.2 0.36240 0.58472 0.18090 0.23058 1.35860 sec.
7.0.1 0.39148 0.56250 0.17378 0.28775 1.41551 sec.
5.6.29 1.29694 1.40794 0.47650 0.63228 3.81367 sec.
5.6.20 1.25835 1.40267 0.48961 0.62324 3.77387 sec.
5.6.19 1.21370 1.39002 0.62820 0.74888 3.98079 sec.
5.6.18 1.35804 1.42163 0.46890 0.63730 3.88586 sec.
5.6.17 1.26318 1.35906 0.52475 0.66439 3.81138 sec.
5.6.2 1.36572 1.46610 0.47142 0.64746 3.95070 sec.
5.5.34 1.19531 1.37798 0.47053 0.70845 3.75227 sec.
5.5.33 1.21631 1.41745 0.49085 0.62525 3.74987 sec.
5.5.32 1.25981 1.37872 0.47047 0.61485 3.72385 sec.
5.5.31 1.24911 1.37052 0.46885 0.66055 3.74904 sec.
5.5.18 1.37799 1.50136 0.46145 0.64423 3.98503 sec.
5.5.5 1.39301 1.54101 0.51449 0.79202 4.24052 sec.
5.5.0.a6 1.41991 1.50114 0.51032 0.75544 4.18681 sec.
5.5.0.a.5 1.55169 1.56508 0.52434 0.64657 4.28767 sec.
5.5.0.a.2 1.44461 1.50542 0.46898 0.63041 4.04941 sec.
5.4.34 1.41994 1.52337 0.47979 0.63448 4.05758 sec.
5.4.21 1.49460 1.55451 0.46161 0.64041 4.15112 sec.
5.4.13 1.42504 1.55386 0.46190 0.63644 4.07725 sec.
5.4.12 1.37247 1.53251 0.50515 0.63404 4.04416 sec.
5.4.11 1.37214 1.51746 0.46180 0.63664 3.98804 sec.
5.4.10 1.35811 1.52826 0.46281 0.65319 4.00238 sec.
5.4.9 1.43143 1.54182 0.48858 0.67181 4.13364 sec.
5.4.8 1.47694 1.49489 0.46727 0.66764 4.10674 sec.
5.4.7 1.42558 1.56679 0.46755 0.67480 4.13472 sec.
5.4.6 1.38781 1.49101 0.47360 0.65535 4.00778 sec.
5.4.5 1.38417 1.56503 0.46242 0.72563 4.13724 sec.
5.4.4 2.55834 1.53337 0.47426 0.65355 5.21952 sec.
5.4.3 1.38532 1.48924 0.50042 0.64585 4.02084 sec.
5.4.2 1.37462 1.57832 0.48913 0.67971 4.12177 sec.
5.4.1 1.39049 1.56521 0.47066 0.62288 4.04924 sec.
5.4.0 1.43027 1.52566 0.46322 0.69773 4.11688 sec.
5.3.29 1.49747 1.59194 0.72919 1.18793 5.00653 sec.
5.3.27 1.54916 1.59247 0.68462 1.17018 4.99643 sec.
5.3.23 1.50725 1.57771 0.68904 1.22394 4.99795 sec.
5.3.22 1.53343 1.66666 0.67007 1.21324 5.08340 sec.
5.3.21 1.55921 1.62323 0.68508 1.14705 5.01458 sec.
5.3.20 1.49137 1.63600 0.68778 1.14901 4.96416 sec.
5.3.19 1.52980 1.65576 0.69653 1.26078 5.14286 sec.
5.3.18 1.47768 1.77464 0.77232 1.14967 5.17431 sec.
5.3.17 1.47761 1.63441 0.71781 1.17162 5.00145 sec.
5.3.16 1.45297 1.62197 0.70829 1.18909 4.97232 sec.
5.3.15 1.47250 1.58983 0.69495 1.11021 4.86749 sec.
5.3.14 1.57950 1.69314 0.71485 1.16605 5.15354 sec.
5.3.13 1.55812 1.70371 0.68903 1.11185 5.06272 sec.
5.3.12 1.60825 1.69575 0.68393 1.12740 5.11533 sec.
5.3.11 1.60693 1.65957 0.69014 1.12244 5.07908 sec.
5.3.10 1.53008 1.64045 0.67263 1.19051 5.03366 sec.
5.3.2 0.81259 0.00000 0.00000 0.00000 0.81259 sec.
5.3.1 1.68594 1.69149 0.71833 1.14038 5.23614 sec.
5.3.0 1.59394 1.71292 0.65508 1.10998 5.07192 sec.
5.2.17 1.63588 1.73939 1.27490 2.95409 7.60426 sec.
5.2.16 1.65017 1.70757 0.99078 2.06976 6.41828 sec.
5.1.6 1.51979 2.19763 1.01707 1.39626 6.13075 sec.
5.1.5 1.46896 2.17021 1.02306 2.20670 6.86893 sec.
5.0.5 2.61523 3.25119 4.47577 6.32443 16.66662 sec.
5.0.4 2.26673 2.92803 4.48083 6.00944 15.68503 sec.
4.4.9 2.25911 3.09313 4.35526 5.57006 15.27757 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