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

<<< Results of 06/12/2017

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.84305 0.77107 0.14642 0.22675 1.98729 sec.
7.0.14 0.34385 0.53510 0.17070 0.22131 1.27096 sec.
7.0.5 0.37535 0.54308 0.14690 0.21772 1.28305 sec.
7.0.4 0.35053 0.53135 0.14388 0.21663 1.24240 sec.
7.0.3 0.34767 0.55629 0.14688 0.22693 1.27777 sec.
7.0.2 0.35674 0.53255 0.17651 0.21951 1.28532 sec.
7.0.1 0.35921 0.54950 0.14607 0.22224 1.27701 sec.
5.6.29 1.18296 1.35653 0.51662 0.62484 3.68095 sec.
5.6.20 1.24871 1.30316 0.48833 0.60254 3.64274 sec.
5.6.19 1.16959 1.30086 0.45219 0.62734 3.54998 sec.
5.6.18 1.22863 1.35879 0.48173 0.62224 3.69139 sec.
5.6.17 1.19083 1.32682 0.45285 0.60529 3.57579 sec.
5.6.2 1.34016 1.43289 0.46102 0.59949 3.83356 sec.
5.5.34 1.23663 1.38636 0.44806 0.59468 3.66573 sec.
5.5.33 1.23008 1.35763 0.50855 0.60235 3.69862 sec.
5.5.32 1.21073 1.31735 0.44964 0.59522 3.57294 sec.
5.5.31 1.20698 1.30560 0.47169 0.60076 3.58503 sec.
5.5.18 1.32200 1.49588 0.48394 0.64158 3.94340 sec.
5.5.5 1.33296 1.48755 0.44722 0.59521 3.86293 sec.
5.5.0.a6 1.29095 1.40836 0.45352 0.63201 3.78483 sec.
5.5.0.a.5 1.33451 1.52811 0.47558 0.62800 3.96621 sec.
5.5.0.a.2 1.28886 1.39552 0.47011 0.60992 3.76441 sec.
5.4.34 1.31179 1.46372 0.44874 0.62176 3.84600 sec.
5.4.21 1.33873 1.47585 0.45526 0.62187 3.89171 sec.
5.4.13 1.33412 1.49569 0.46046 0.62602 3.91629 sec.
5.4.12 1.33042 1.44598 0.44698 0.62326 3.84665 sec.
5.4.11 1.34985 1.44493 0.44728 0.63811 3.88017 sec.
5.4.10 1.32554 1.46651 0.44854 0.64996 3.89055 sec.
5.4.9 1.38670 1.50268 0.45863 0.66317 4.01117 sec.
5.4.8 1.35941 1.44333 0.44666 0.64524 3.89465 sec.
5.4.7 1.35582 1.45234 0.45197 0.64430 3.90443 sec.
5.4.6 1.33358 1.44468 0.44943 0.65894 3.88663 sec.
5.4.5 1.32732 1.44681 0.47219 0.64927 3.89558 sec.
5.4.4 1.34915 1.47326 0.47699 0.62144 3.92084 sec.
5.4.3 1.32330 1.53749 0.46493 1.02702 4.35274 sec.
5.4.2 2.02637 1.46701 0.45433 0.62058 4.56830 sec.
5.4.1 1.32216 1.43523 0.44463 0.63676 3.83878 sec.
5.4.0 1.34251 1.46935 0.45554 0.63283 3.90023 sec.
5.3.29 1.44321 1.59421 0.68624 1.18252 4.90618 sec.
5.3.27 1.49383 1.57357 0.66502 1.17644 4.90886 sec.
5.3.23 1.44386 1.56234 0.69089 1.19432 4.89140 sec.
5.3.22 1.61703 1.62429 0.65344 1.14406 5.03883 sec.
5.3.21 1.44173 1.57314 0.64749 1.10560 4.76797 sec.
5.3.20 1.47026 1.72786 0.65867 1.10999 4.96678 sec.
5.3.19 1.50137 1.58740 0.65212 1.12900 4.86988 sec.
5.3.18 1.44122 1.58166 0.67149 1.09626 4.79062 sec.
5.3.17 1.42951 1.55017 0.65138 1.09904 4.73009 sec.
5.3.16 1.46763 1.54916 0.70022 1.12799 4.84502 sec.
5.3.15 1.46953 1.57797 0.66139 1.07711 4.78599 sec.
5.3.14 1.54824 1.62394 0.65726 1.10819 4.93763 sec.
5.3.13 1.54836 1.61541 0.65559 1.12691 4.94627 sec.
5.3.12 1.67271 1.61712 0.67810 1.18434 5.15226 sec.
5.3.11 1.51080 1.60623 0.66874 1.12285 4.90862 sec.
5.3.10 1.54680 1.59516 0.67254 1.12296 4.93746 sec.
5.3.2 1.61262 1.62860 0.66489 1.13001 5.03611 sec.
5.3.1 1.60494 1.63992 0.65737 1.13268 5.03491 sec.
5.3.0 1.59170 1.70813 0.64507 0.87036 4.81526 sec.
5.2.17 1.56367 1.67178 0.94892 2.07033 6.25470 sec.
5.2.16 1.53720 1.63668 0.97131 2.97087 7.11606 sec.
5.1.6 1.42273 2.10314 0.92143 1.92145 6.36875 sec.
5.1.5 1.45195 2.08660 0.97731 2.08135 6.59720 sec.
5.0.5 2.45268 3.14048 4.37960 6.02381 15.99657 sec.
5.0.4 2.24061 2.84364 4.35879 5.83795 15.28099 sec.
4.4.9 2.16124 2.85200 4.14640 5.40027 14.55991 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