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 02/05/2018

<<< Results of 01/29/2018     |     Results of 02/12/2018>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.88379 1.04671 0.17813 0.30949 2.41813 sec.
7.0.14 0.57610 0.60445 0.19822 0.26454 1.64330 sec.
7.0.5 0.37226 0.57322 0.16945 0.30075 1.41568 sec.
7.0.4 0.51088 0.73581 0.15641 0.23406 1.63716 sec.
7.0.3 0.44306 0.56589 0.15571 0.24717 1.41184 sec.
7.0.2 0.41765 0.68519 0.18991 0.24720 1.53995 sec.
7.0.1 0.37083 0.53803 0.17877 0.27108 1.35871 sec.
5.6.29 1.31818 1.30192 0.46702 0.62439 3.71150 sec.
5.6.20 1.33491 1.38861 0.49972 0.62664 3.84988 sec.
5.6.19 1.44241 1.30231 0.47135 0.64250 3.85857 sec.
5.6.18 1.33382 1.36382 0.47261 0.60723 3.77748 sec.
5.6.17 1.25656 1.35145 0.46617 0.68105 3.75522 sec.
5.6.2 1.33078 1.45548 0.47231 0.60795 3.86653 sec.
5.5.34 1.25151 1.37571 0.49009 0.76152 3.87883 sec.
5.5.33 1.23604 1.35784 0.48035 0.71601 3.79024 sec.
5.5.32 1.27466 1.34670 0.53836 0.61416 3.77388 sec.
5.5.31 1.28154 1.35566 0.47506 0.63508 3.74733 sec.
5.5.18 1.33956 1.53837 0.47373 0.61561 3.96728 sec.
5.5.5 1.36099 1.54022 0.46491 0.71833 4.08445 sec.
5.5.0.a6 1.63088 1.47604 0.47184 0.69084 4.26960 sec.
5.5.0.a.5 1.47215 1.47634 0.51721 0.72397 4.18967 sec.
5.5.0.a.2 1.35188 1.52641 0.48912 0.61149 3.97891 sec.
5.4.34 1.33631 1.51096 0.47835 0.67038 3.99599 sec.
5.4.21 1.39321 1.51533 0.47796 0.69935 4.08585 sec.
5.4.13 1.40373 1.47186 0.46872 0.63416 3.97847 sec.
5.4.12 1.39641 1.51889 0.51903 0.63404 4.06837 sec.
5.4.11 1.42542 1.47257 0.45618 0.72353 4.07769 sec.
5.4.10 1.34327 1.48015 0.46835 0.66891 3.96069 sec.
5.4.9 1.38888 1.46047 0.46238 0.68873 4.00046 sec.
5.4.8 1.36485 1.46545 0.45306 0.65671 3.94008 sec.
5.4.7 1.35630 1.48944 0.47419 0.66263 3.98257 sec.
5.4.6 1.38698 1.56342 0.49607 0.75287 4.19933 sec.
5.4.5 1.50234 1.55364 0.46794 0.71357 4.23749 sec.
5.4.4 2.63064 1.52826 0.49457 0.66213 5.31560 sec.
5.4.3 1.38383 1.51820 0.45907 0.68914 4.05024 sec.
5.4.2 1.36028 1.49843 0.45923 0.64518 3.96311 sec.
5.4.1 1.39870 1.52559 0.45135 0.65446 4.03010 sec.
5.4.0 1.42002 1.53139 0.46284 0.64523 4.05948 sec.
5.3.29 1.46070 1.65551 0.70520 1.15322 4.97464 sec.
5.3.27 1.48427 1.71992 0.75591 1.17900 5.13911 sec.
5.3.23 1.44603 1.59936 0.65808 1.16852 4.87199 sec.
5.3.22 1.44984 1.58120 0.67789 1.16434 4.87326 sec.
5.3.21 1.52245 1.61325 0.69233 1.08289 4.91093 sec.
5.3.20 1.53459 1.63300 0.67324 1.16212 5.00295 sec.
5.3.19 1.45969 1.69266 0.69220 1.17400 5.01855 sec.
5.3.18 1.54339 1.59487 0.84555 1.18044 5.16425 sec.
5.3.17 1.48625 1.63846 0.66181 1.10693 4.89345 sec.
5.3.16 1.44801 1.62168 0.67733 1.15489 4.90191 sec.
5.3.15 1.50841 1.59952 0.76250 1.13998 5.01040 sec.
5.3.14 1.58883 1.69711 0.73977 1.14702 5.17273 sec.
5.3.13 1.56724 1.70090 0.72033 1.19412 5.18259 sec.
5.3.12 1.55545 1.66775 0.74293 1.07060 5.03673 sec.
5.3.11 1.55485 1.62500 0.68705 1.15178 5.01867 sec.
5.3.10 1.51397 1.61100 0.67835 1.11341 4.91673 sec.
5.3.2 1.62193 1.70955 0.72927 1.10011 5.16086 sec.
5.3.1 1.65927 1.65862 0.69895 1.21414 5.23098 sec.
5.3.0 1.55326 1.72275 0.27739 0.00000 3.55340 sec.
5.2.17 1.58766 2.90783 1.01411 2.17094 7.68055 sec.
5.2.16 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.1.6 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.1.5 0.00000 0.64819 0.96062 2.10854 3.71735 sec.
5.0.5 2.50043 3.08295 4.36984 6.17190 16.12512 sec.
5.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
4.4.9 0.00000 0.00000 0.00000 0.00000 0.00000 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