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/04/2017

<<< Results of 08/28/2017     |     Results of 09/11/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.99212 0.65398 0.16621 0.23714 2.04945 sec.
7.0.14 0.38893 0.60027 0.17129 0.23316 1.39365 sec.
7.0.5 0.37536 0.54759 0.15173 0.22603 1.30071 sec.
7.0.4 0.36039 0.56901 0.14520 0.22458 1.29919 sec.
7.0.3 0.36023 0.52727 0.14242 0.22494 1.25486 sec.
7.0.2 0.35437 0.52643 0.18941 0.23143 1.30164 sec.
7.0.1 0.36551 0.61925 0.14885 0.22595 1.35957 sec.
5.6.29 1.27053 1.34891 0.53128 0.64467 3.79540 sec.
5.6.20 1.39348 1.39689 0.45762 0.62390 3.87189 sec.
5.6.19 1.32262 1.43710 0.48827 0.60370 3.85169 sec.
5.6.18 1.21406 1.33448 0.47317 0.64306 3.66477 sec.
5.6.17 1.23929 1.36864 0.47023 0.64199 3.72015 sec.
5.6.2 1.35899 1.49327 0.51111 0.67713 4.04050 sec.
5.5.34 1.27624 1.37501 0.48835 0.65851 3.79811 sec.
5.5.33 1.21786 1.36406 0.50514 0.60319 3.69025 sec.
5.5.32 1.22979 1.39399 0.45342 0.64528 3.72247 sec.
5.5.31 1.28109 1.37157 0.46983 0.62125 3.74374 sec.
5.5.18 1.50840 1.55077 0.49789 0.68087 4.23794 sec.
5.5.5 1.40656 1.60055 0.45314 0.60901 4.06927 sec.
5.5.0.a6 1.30761 1.54184 0.45606 0.64877 3.95427 sec.
5.5.0.a.5 1.40409 1.55128 0.48282 0.64919 4.08738 sec.
5.5.0.a.2 1.38408 1.59291 0.45977 0.63422 4.07099 sec.
5.4.34 1.32621 1.51241 0.45810 0.66756 3.96429 sec.
5.4.21 1.37247 1.57803 0.46298 0.64096 4.05444 sec.
5.4.13 1.50182 1.52304 0.46519 0.67370 4.16375 sec.
5.4.12 1.40115 1.53116 0.47093 0.63033 4.03357 sec.
5.4.11 1.39049 1.51125 0.47116 0.64131 4.01420 sec.
5.4.10 1.41544 1.56964 0.45540 0.63778 4.07826 sec.
5.4.9 1.46397 1.58247 0.47203 0.68139 4.19986 sec.
5.4.8 1.38744 1.60255 0.46228 0.65675 4.10901 sec.
5.4.7 1.38396 1.51075 0.48722 0.67156 4.05349 sec.
5.4.6 1.41383 1.45628 0.45091 0.67013 3.99115 sec.
5.4.5 1.39160 1.59700 0.45667 0.63907 4.08433 sec.
5.4.4 1.42792 1.61056 0.87892 1.06391 4.98131 sec.
5.4.3 1.37236 1.53365 0.50389 0.66864 4.07854 sec.
5.4.2 1.38403 1.62759 0.45917 0.63867 4.10946 sec.
5.4.1 1.36750 1.47244 0.46815 0.62244 3.93053 sec.
5.4.0 1.48779 1.45383 0.44770 0.68336 4.07267 sec.
5.3.29 1.49164 1.58987 0.71641 1.22290 5.02081 sec.
5.3.27 1.49323 1.61223 0.70543 1.19026 5.00114 sec.
5.3.23 1.55351 1.60310 0.67157 1.20924 5.03742 sec.
5.3.22 1.57553 1.67849 0.66181 1.16198 5.07781 sec.
5.3.21 1.47507 1.65528 0.66732 1.11245 4.91012 sec.
5.3.20 1.46934 1.55670 0.67768 1.13513 4.83884 sec.
5.3.19 1.58205 1.65508 0.68586 1.10435 5.02733 sec.
5.3.18 1.41755 1.57882 0.68578 1.15952 4.84166 sec.
5.3.17 1.45752 1.67384 0.68427 1.12898 4.94460 sec.
5.3.16 1.43869 1.64632 0.66861 1.16663 4.92025 sec.
5.3.15 1.48629 1.62964 0.69928 1.11776 4.93296 sec.
5.3.14 1.59672 1.66913 0.68710 1.09860 5.05155 sec.
5.3.13 1.69448 1.69341 0.70128 1.13607 5.22524 sec.
5.3.12 1.57495 1.64910 0.70020 1.15827 5.08253 sec.
5.3.11 1.56942 1.64660 0.68840 1.13000 5.03442 sec.
5.3.10 1.51348 1.65677 0.67614 1.17399 5.02037 sec.
5.3.2 1.63115 1.74535 0.68717 1.08255 5.14622 sec.
5.3.1 1.59205 1.64861 0.67470 1.07171 4.98708 sec.
5.3.0 1.59660 1.65685 0.69642 1.12069 5.07056 sec.
5.2.17 1.59042 2.37723 1.52819 2.23374 7.72959 sec.
5.2.16 1.55522 1.69716 0.96537 1.98038 6.19813 sec.
5.1.6 1.46964 2.16006 0.97631 1.98823 6.59424 sec.
5.1.5 1.50572 2.17760 0.95323 2.07432 6.71087 sec.
5.0.5 2.48393 3.30358 4.40722 6.20635 16.40108 sec.
5.0.4 2.17976 2.99850 4.49046 5.82940 15.49811 sec.
4.4.9 2.15162 2.93243 4.25160 5.59348 14.92912 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