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

<<< Results of 10/30/2017     |     Results of 11/13/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.66054 0.96722 0.24390 0.40394 2.27560 sec.
7.0.14 0.41160 0.54928 0.17328 0.21668 1.35083 sec.
7.0.5 0.39470 0.57748 0.14447 0.22109 1.33774 sec.
7.0.4 0.36469 0.53632 0.14827 0.22779 1.27707 sec.
7.0.3 0.35646 0.53822 0.14019 0.21781 1.25268 sec.
7.0.2 0.34852 0.53162 0.17423 0.22051 1.27487 sec.
7.0.1 0.35187 0.53311 0.14620 0.22290 1.25407 sec.
5.6.29 1.16904 1.28696 0.45400 0.60042 3.51042 sec.
5.6.20 1.21087 1.31344 0.45361 0.60524 3.58315 sec.
5.6.19 1.20172 1.29297 0.47175 0.64778 3.61422 sec.
5.6.18 1.20564 1.35239 0.46677 0.59281 3.61761 sec.
5.6.17 1.18096 1.30284 0.45498 0.60393 3.54271 sec.
5.6.2 1.40864 1.46652 0.48191 0.60440 3.96147 sec.
5.5.34 1.18149 1.32039 0.45526 0.70121 3.65835 sec.
5.5.33 1.22323 1.48420 0.46802 0.60589 3.78134 sec.
5.5.32 1.20778 1.38050 0.44515 0.60912 3.64255 sec.
5.5.31 1.24632 1.32287 0.47086 0.60697 3.64703 sec.
5.5.18 1.32162 1.44690 0.45931 0.59996 3.82780 sec.
5.5.5 1.38790 1.47774 0.45244 0.60304 3.92112 sec.
5.5.0.a6 1.29202 1.51560 0.54075 0.76048 4.10885 sec.
5.5.0.a.5 1.36882 1.66635 0.46853 0.60129 4.10500 sec.
5.5.0.a.2 1.36842 1.41182 0.46964 0.60133 3.85122 sec.
5.4.34 1.31869 1.45530 0.45458 0.61967 3.84825 sec.
5.4.21 1.33878 1.52723 0.44956 0.63242 3.94798 sec.
5.4.13 1.33444 1.43572 0.44978 0.61947 3.83941 sec.
5.4.12 1.34133 1.44467 0.49638 0.62330 3.90568 sec.
5.4.11 1.31625 1.45285 0.45213 0.63529 3.85652 sec.
5.4.10 1.34396 1.47783 0.44346 0.63035 3.89559 sec.
5.4.9 1.35215 1.61486 0.47302 0.74693 4.18697 sec.
5.4.8 1.32929 1.45002 0.45589 0.64400 3.87920 sec.
5.4.7 1.34014 1.45578 0.44806 0.64664 3.89061 sec.
5.4.6 1.33023 1.64676 0.47041 0.64319 4.09059 sec.
5.4.5 1.32390 1.45076 0.44775 0.63306 3.85548 sec.
5.4.4 1.32227 1.47170 0.44886 0.61968 3.86251 sec.
5.4.3 1.33198 2.36142 0.50235 0.68561 4.88136 sec.
5.4.2 1.60590 1.77839 0.53775 0.70048 4.62252 sec.
5.4.1 1.32979 1.42944 0.44570 0.61169 3.81662 sec.
5.4.0 1.32121 1.42963 0.44492 0.62734 3.82310 sec.
5.3.29 1.43104 1.55638 0.66990 1.13624 4.79356 sec.
5.3.27 1.55756 1.55692 0.73037 1.19887 5.04371 sec.
5.3.23 1.45114 1.52817 0.66456 1.14656 4.79043 sec.
5.3.22 1.43106 1.52412 0.65477 1.14680 4.75675 sec.
5.3.21 1.46424 1.56301 0.65256 1.06796 4.74777 sec.
5.3.20 1.48983 1.55856 0.65595 1.13828 4.84262 sec.
5.3.19 1.43971 1.58746 0.66724 1.12162 4.81603 sec.
5.3.18 1.45439 1.56591 0.68567 1.11639 4.82235 sec.
5.3.17 1.41667 1.54317 0.65256 1.11403 4.72642 sec.
5.3.16 1.48928 1.52528 0.66921 1.10462 4.78840 sec.
5.3.15 1.43928 1.53583 0.65963 1.11278 4.74753 sec.
5.3.14 1.50862 1.62277 0.68711 1.20917 5.02767 sec.
5.3.13 1.52138 1.60725 0.66105 1.10977 4.89945 sec.
5.3.12 1.50583 1.61527 0.66005 1.04133 4.82249 sec.
5.3.11 1.53675 1.96812 0.80530 1.26106 5.57124 sec.
5.3.10 1.48827 1.60871 0.70226 1.28267 5.08192 sec.
5.3.2 1.82548 1.60798 0.66386 1.12029 5.21761 sec.
5.3.1 1.52992 1.60861 0.66166 1.03914 4.83932 sec.
5.3.0 1.53531 1.60779 0.67523 1.11209 4.93041 sec.
5.2.17 1.53052 1.62974 0.91749 2.06576 6.14352 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.61248 0.95100 2.10915 3.67263 sec.
5.0.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
4.4.9 0.00000 0.62579 4.16100 5.39467 10.18146 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