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 07/31/2017

<<< Results of 07/24/2017     |     Results of 08/07/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.85013 0.98953 0.24602 0.24106 2.32673 sec.
7.0.14 0.41888 0.58765 0.19712 0.22483 1.42848 sec.
7.0.5 0.39219 0.55866 0.14560 0.21885 1.31531 sec.
7.0.4 0.35567 0.55226 0.15029 0.22365 1.28187 sec.
7.0.3 0.39262 0.55513 0.14854 0.22301 1.31930 sec.
7.0.2 0.38378 0.53269 0.17935 0.22200 1.31782 sec.
7.0.1 0.36519 0.55249 0.14943 0.24156 1.30868 sec.
5.6.29 1.30046 1.40312 0.49661 0.62150 3.82169 sec.
5.6.20 1.23273 1.33094 0.45437 0.60800 3.62604 sec.
5.6.19 1.21521 1.40778 0.45457 0.60574 3.68331 sec.
5.6.18 1.25933 1.32618 0.48138 0.59654 3.66343 sec.
5.6.17 1.24211 1.40660 0.45616 0.61849 3.72335 sec.
5.6.2 1.33231 1.46405 0.48667 0.62644 3.90946 sec.
5.5.34 1.26256 1.36155 0.45172 0.62512 3.70095 sec.
5.5.33 1.22482 1.34156 0.52362 0.61091 3.70090 sec.
5.5.32 1.25784 1.38365 0.45224 0.62138 3.71511 sec.
5.5.31 1.30890 1.48719 0.50087 0.64718 3.94413 sec.
5.5.18 1.35238 1.55819 0.48015 0.65292 4.04364 sec.
5.5.5 1.39112 1.56068 0.48319 0.62066 4.05565 sec.
5.5.0.a6 1.32215 1.78313 0.51970 0.64293 4.26792 sec.
5.5.0.a.5 1.37574 1.52010 0.51543 0.72665 4.13792 sec.
5.5.0.a.2 1.36755 1.45712 0.46542 0.60969 3.89977 sec.
5.4.34 1.36658 1.58884 0.45057 0.65658 4.06257 sec.
5.4.21 1.39237 1.50874 0.48975 0.67641 4.06728 sec.
5.4.13 1.33933 1.53285 0.46113 0.63443 3.96774 sec.
5.4.12 1.36932 1.48329 0.48947 0.64062 3.98268 sec.
5.4.11 1.37534 1.52792 0.45265 0.67012 4.02603 sec.
5.4.10 1.37271 1.51598 0.45798 0.64637 3.99304 sec.
5.4.9 1.49859 1.56437 0.46998 0.70993 4.24287 sec.
5.4.8 1.36756 1.47537 0.48185 0.68061 4.00540 sec.
5.4.7 1.40473 1.51494 0.46210 0.67985 4.06162 sec.
5.4.6 1.38066 1.54858 0.45993 0.67334 4.06251 sec.
5.4.5 1.35680 1.51640 0.44897 0.62253 3.94469 sec.
5.4.4 1.40677 1.53016 0.63178 1.16969 4.73840 sec.
5.4.3 1.71522 1.50532 0.46573 0.65795 4.34423 sec.
5.4.2 1.38661 1.46636 0.45446 0.63243 3.93986 sec.
5.4.1 1.31305 1.45264 0.46772 0.61333 3.84674 sec.
5.4.0 1.37673 1.48268 0.45994 0.64241 3.96177 sec.
5.3.29 1.47723 1.59143 0.70126 1.22049 4.99041 sec.
5.3.27 1.47248 1.60027 0.71034 1.17413 4.95722 sec.
5.3.23 1.52930 1.61457 0.66242 1.21088 5.01717 sec.
5.3.22 1.57332 1.67086 0.66391 1.18552 5.09362 sec.
5.3.21 1.48118 1.62438 0.65083 1.12389 4.88028 sec.
5.3.20 1.49175 1.58250 0.65574 1.12441 4.85439 sec.
5.3.19 1.51169 1.57796 0.65246 1.09015 4.83225 sec.
5.3.18 1.44298 1.62329 0.67351 1.13395 4.87373 sec.
5.3.17 1.45485 1.62513 0.65467 1.10884 4.84349 sec.
5.3.16 1.47372 1.56070 0.67815 1.14992 4.86249 sec.
5.3.15 1.47674 1.59389 0.70542 1.15448 4.93052 sec.
5.3.14 1.63720 1.64307 0.65990 1.10464 5.04482 sec.
5.3.13 1.58401 1.64318 0.66107 1.15010 5.03836 sec.
5.3.12 1.55976 1.64956 0.69072 1.22615 5.12619 sec.
5.3.11 1.55167 1.68519 0.69176 1.14394 5.07256 sec.
5.3.10 1.55493 1.65240 0.70082 1.14519 5.05334 sec.
5.3.2 1.66255 1.68128 0.66685 1.10407 5.11474 sec.
5.3.1 1.54448 1.63318 0.67577 1.12038 4.97381 sec.
5.3.0 1.55427 1.68304 0.65032 1.11023 4.99786 sec.
5.2.17 1.65229 1.74474 1.48137 2.52404 7.40244 sec.
5.2.16 1.53747 1.64631 1.00535 2.14543 6.33456 sec.
5.1.6 1.49476 2.23914 0.94726 2.01085 6.69200 sec.
5.1.5 1.44179 2.08218 1.04001 2.17102 6.73500 sec.
5.0.5 2.61026 3.11176 4.42200 6.10558 16.24959 sec.
5.0.4 2.20448 2.85233 4.35009 5.92487 15.33176 sec.
4.4.9 2.32029 2.87868 4.19656 5.41407 14.80959 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