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 09/11/2017

<<< Results of 09/04/2017     |     Results of 09/18/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.69885 0.99612 0.24345 0.41676 2.35517 sec.
7.0.14 0.40990 0.54949 0.18813 0.22063 1.36815 sec.
7.0.5 0.36649 0.56444 0.15217 0.23366 1.31675 sec.
7.0.4 0.36064 0.54936 0.16012 0.22501 1.29513 sec.
7.0.3 0.35517 0.54085 0.14689 0.22016 1.26306 sec.
7.0.2 0.35589 0.57591 0.18219 0.26242 1.37641 sec.
7.0.1 0.39356 0.54818 0.17189 0.24585 1.35948 sec.
5.6.29 1.22808 1.27966 0.45453 0.59801 3.56028 sec.
5.6.20 1.17918 1.30740 0.48300 0.61971 3.58930 sec.
5.6.19 1.27652 1.34328 0.46062 0.61631 3.69673 sec.
5.6.18 1.20216 1.30762 0.45948 0.60549 3.57475 sec.
5.6.17 1.20191 1.35673 0.45280 0.64351 3.65495 sec.
5.6.2 1.33359 1.48010 0.47760 0.62523 3.91651 sec.
5.5.34 1.22878 1.38884 0.45676 0.62108 3.69547 sec.
5.5.33 1.25781 1.34913 0.45157 0.60904 3.66755 sec.
5.5.32 1.21475 1.60446 0.50216 0.61303 3.93440 sec.
5.5.31 1.24778 1.35659 0.47106 0.59841 3.67383 sec.
5.5.18 1.37802 1.54855 0.47624 0.61118 4.01399 sec.
5.5.5 1.34195 1.45504 0.45937 0.65664 3.91300 sec.
5.5.0.a6 1.27915 1.46900 0.47194 0.66101 3.88110 sec.
5.5.0.a.5 1.33776 1.48244 0.46586 0.59824 3.88430 sec.
5.5.0.a.2 1.28327 1.44950 0.45991 0.62583 3.81850 sec.
5.4.34 1.36136 1.61901 0.45211 0.63244 4.06491 sec.
5.4.21 1.40641 1.55155 0.48919 0.76182 4.20897 sec.
5.4.13 1.49201 1.47694 0.44808 0.62124 4.03827 sec.
5.4.12 1.35461 1.53509 0.50016 0.61892 4.00878 sec.
5.4.11 1.34710 1.47164 0.47130 0.64591 3.93595 sec.
5.4.10 1.32160 1.50637 0.45198 0.63378 3.91373 sec.
5.4.9 1.35695 1.68659 0.47656 0.69917 4.21927 sec.
5.4.8 1.36193 1.50091 0.45821 0.64754 3.96860 sec.
5.4.7 1.33830 1.47102 0.45234 0.64148 3.90315 sec.
5.4.6 1.36301 1.46008 0.44539 0.62744 3.89593 sec.
5.4.5 1.35883 1.47172 0.46354 0.61815 3.91223 sec.
5.4.4 1.35146 1.45344 0.44613 0.61984 3.87086 sec.
5.4.3 1.31906 2.29968 0.57884 0.67491 4.87249 sec.
5.4.2 1.35443 1.45725 0.45520 0.63507 3.90195 sec.
5.4.1 1.37883 1.71120 0.46513 0.65197 4.20714 sec.
5.4.0 1.50560 1.46561 0.47024 0.64098 4.08244 sec.
5.3.29 1.44457 1.55163 0.69561 1.14683 4.83864 sec.
5.3.27 1.47081 1.58558 0.67664 1.19033 4.92335 sec.
5.3.23 1.46936 1.56076 0.65239 1.14516 4.82767 sec.
5.3.22 1.44125 1.55331 0.65667 1.15452 4.80575 sec.
5.3.21 1.59112 1.67687 0.65850 1.15443 5.08092 sec.
5.3.20 1.53136 1.56911 0.68414 1.14497 4.92958 sec.
5.3.19 1.49322 1.61427 0.65445 1.14380 4.90574 sec.
5.3.18 1.46420 1.78054 0.76807 1.23142 5.24424 sec.
5.3.17 1.57448 1.60976 0.66785 1.11110 4.96319 sec.
5.3.16 1.48475 1.61132 0.68901 1.14863 4.93371 sec.
5.3.15 1.45873 1.58785 0.66913 1.14534 4.86106 sec.
5.3.14 1.58136 1.67740 0.66643 1.12483 5.05003 sec.
5.3.13 1.51794 1.64898 0.74788 1.23889 5.15370 sec.
5.3.12 1.52875 1.60976 0.66591 1.05283 4.85726 sec.
5.3.11 1.50164 1.64481 0.66828 1.11462 4.92935 sec.
5.3.10 1.51063 1.63238 0.65231 1.08935 4.88467 sec.
5.3.2 1.55337 1.62046 0.67252 1.12546 4.97181 sec.
5.3.1 1.55264 1.72740 0.70253 1.13194 5.11451 sec.
5.3.0 1.51225 1.61304 0.66987 1.13379 4.92894 sec.
5.2.17 1.63464 1.79684 0.95351 2.08265 6.46765 sec.
5.2.16 2.05619 2.13967 0.95450 2.01704 7.16741 sec.
5.1.6 1.42254 2.09289 0.94091 1.95510 6.41144 sec.
5.1.5 1.53362 2.20957 0.97669 2.12418 6.84405 sec.
5.0.5 2.44250 3.01898 4.34895 6.11975 15.93017 sec.
5.0.4 2.21626 2.85254 4.32116 6.27135 15.66130 sec.
4.4.9 2.35099 2.77253 4.16157 5.44890 14.73398 sec.
 


 


 


Comments

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