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

<<< Results of 02/13/2017

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.86076 0.92603 0.16524 0.24068 2.19271 sec.
7.0.14 0.34544 0.52923 0.17312 0.23386 1.28166 sec.
7.0.5 0.36639 0.53560 0.16108 0.24612 1.30919 sec.
7.0.4 0.38662 0.56329 0.14662 0.21916 1.31569 sec.
7.0.3 0.35490 0.54233 0.14204 0.22725 1.26651 sec.
7.0.2 0.37971 0.63179 0.28123 0.28430 1.57703 sec.
7.0.1 0.38843 0.56973 0.14386 0.21941 1.32143 sec.
5.6.29 1.21337 1.37293 0.46373 0.67205 3.72209 sec.
5.6.20 1.28092 1.35691 0.45417 0.59921 3.69122 sec.
5.6.19 1.19371 1.42874 0.48005 0.63165 3.73415 sec.
5.6.18 1.23058 1.31797 0.46914 0.61259 3.63027 sec.
5.6.17 1.22429 1.32322 0.50985 0.67050 3.72786 sec.
5.6.2 1.33499 1.44423 0.46271 0.61895 3.86088 sec.
5.5.34 1.23673 1.32085 0.44932 0.60293 3.60984 sec.
5.5.33 1.21656 1.32163 0.44900 0.63361 3.62081 sec.
5.5.32 1.23057 1.34609 0.44659 0.59766 3.62091 sec.
5.5.31 1.23694 1.38994 0.47643 0.60776 3.71108 sec.
5.5.18 1.34104 1.52311 0.46337 0.60398 3.93150 sec.
5.5.5 1.35457 1.42418 0.46068 0.62288 3.86232 sec.
5.5.0.a6 1.36713 1.51521 0.50003 0.60535 3.98771 sec.
5.5.0.a.5 1.34901 1.42823 0.46873 0.62887 3.87484 sec.
5.5.0.a.2 1.32116 1.46719 0.46170 0.60864 3.85869 sec.
5.4.34 1.35384 1.48510 0.47270 0.62285 3.93450 sec.
5.4.21 1.37676 1.49810 0.45935 0.66492 3.99913 sec.
5.4.13 1.42087 1.45340 0.45150 0.61448 3.94026 sec.
5.4.12 1.37257 1.53889 0.56255 0.72689 4.20090 sec.
5.4.11 1.34088 1.46316 0.46237 0.69533 3.96174 sec.
5.4.10 1.39525 1.49816 0.48134 0.65290 4.02765 sec.
5.4.9 1.41919 1.51257 0.45468 0.65356 4.04000 sec.
5.4.8 1.37817 1.49087 0.46384 0.65506 3.98795 sec.
5.4.7 1.35529 1.46257 0.46567 0.64719 3.93073 sec.
5.4.6 1.39266 1.51678 0.46744 0.77958 4.15646 sec.
5.4.5 1.36524 1.49620 0.47524 0.62583 3.96250 sec.
5.4.4 1.35743 1.47800 0.47262 0.61989 3.92794 sec.
5.4.3 1.36328 2.64238 0.46404 0.66423 5.13392 sec.
5.4.2 1.48305 1.67094 0.50981 0.63731 4.30112 sec.
5.4.1 1.54091 1.56416 0.46042 0.66784 4.23332 sec.
5.4.0 1.43964 1.52802 0.48503 0.68449 4.13718 sec.
5.3.29 1.53134 1.64444 0.69672 1.14281 5.01531 sec.
5.3.27 1.51433 1.66051 0.70905 1.08450 4.96840 sec.
5.3.23 1.47904 1.65266 0.71324 1.18595 5.03089 sec.
5.3.22 1.48210 1.62166 0.66561 1.16392 4.93329 sec.
5.3.21 1.45676 1.57386 0.75871 1.14198 4.93132 sec.
5.3.20 1.51915 1.56819 0.70770 1.19443 4.98947 sec.
5.3.19 1.46682 1.70678 0.70391 1.07725 4.95475 sec.
5.3.18 1.50407 1.72090 0.68636 1.12129 5.03262 sec.
5.3.17 1.47318 1.63959 0.67909 1.15006 4.94191 sec.
5.3.16 1.47167 1.59570 0.71237 1.19149 4.97123 sec.
5.3.15 1.50442 1.70143 0.71981 1.15712 5.08278 sec.
5.3.14 1.54347 1.73272 0.70283 1.16188 5.14090 sec.
5.3.13 1.62835 1.67130 0.69503 1.13739 5.13207 sec.
5.3.12 1.59460 1.76915 0.77798 1.22568 5.36740 sec.
5.3.11 1.68768 1.74541 0.68380 1.15094 5.26782 sec.
5.3.10 1.58968 1.63120 0.69159 1.16110 5.07357 sec.
5.3.2 1.63538 1.71385 0.66652 0.33039 4.34614 sec.
5.3.1 1.60632 1.65407 0.65738 1.14712 5.06489 sec.
5.3.0 1.57625 1.63042 0.66384 1.11104 4.98154 sec.
5.2.17 1.61417 1.71944 0.94333 2.73784 7.01478 sec.
5.2.16 2.04015 1.70492 0.99381 2.07528 6.81416 sec.
5.1.6 1.51371 2.22479 0.95577 2.01144 6.70571 sec.
5.1.5 1.48515 2.53169 1.02518 2.11856 7.16059 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.00000 4.87285 5.54476 10.41761 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