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

<<< Results of 05/29/2017     |     Results of 06/12/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.81125 1.02123 0.23760 0.27962 2.34970 sec.
7.0.14 0.34817 0.53744 0.17800 0.21685 1.28046 sec.
7.0.5 0.37140 0.53399 0.16646 0.21731 1.28916 sec.
7.0.4 0.36257 0.56537 0.14526 0.21779 1.29099 sec.
7.0.3 0.35230 0.53254 0.14063 0.22148 1.24695 sec.
7.0.2 0.35897 0.55960 0.17683 0.22033 1.31573 sec.
7.0.1 0.36245 0.54668 0.14504 0.21865 1.27282 sec.
5.6.29 1.16533 1.26823 0.49023 0.61985 3.54363 sec.
5.6.20 1.16863 1.29062 0.44907 0.59197 3.50029 sec.
5.6.19 1.16032 1.27522 0.45401 0.59951 3.48905 sec.
5.6.18 1.18726 1.35189 0.46090 0.60869 3.60875 sec.
5.6.17 1.18693 1.29356 0.45349 0.59814 3.53211 sec.
5.6.2 1.33844 1.41493 0.45370 0.59598 3.80305 sec.
5.5.34 1.19133 1.32544 0.44774 0.59973 3.56424 sec.
5.5.33 1.25248 1.34746 0.51803 0.59270 3.71067 sec.
5.5.32 1.20510 1.32369 0.46044 0.62164 3.61087 sec.
5.5.31 1.21338 1.33755 0.45092 0.59558 3.59743 sec.
5.5.18 1.38302 1.45966 0.47347 0.64706 3.96320 sec.
5.5.5 1.33935 1.44726 0.45801 0.61199 3.85661 sec.
5.5.0.a6 1.35659 1.43298 0.45949 0.60031 3.84936 sec.
5.5.0.a.5 1.36167 1.42438 0.46720 0.62436 3.87762 sec.
5.5.0.a.2 1.28147 1.44779 0.45500 0.60917 3.79342 sec.
5.4.34 1.34446 1.47692 0.44696 0.61298 3.88131 sec.
5.4.21 1.35946 1.48606 0.45519 0.62247 3.92319 sec.
5.4.13 1.33138 1.44699 0.46522 0.62381 3.86739 sec.
5.4.12 1.33255 1.45092 0.44443 0.62861 3.85650 sec.
5.4.11 1.33282 1.44326 0.44484 0.63011 3.85103 sec.
5.4.10 1.32417 1.46492 0.44544 0.63078 3.86530 sec.
5.4.9 1.38708 1.52406 0.46203 0.63521 4.00837 sec.
5.4.8 1.32936 1.45205 0.44572 0.63851 3.86564 sec.
5.4.7 1.40279 1.45450 0.47425 0.64019 3.97173 sec.
5.4.6 1.39956 1.45821 0.44575 0.64803 3.95155 sec.
5.4.5 1.33491 1.46908 0.44798 0.62175 3.87371 sec.
5.4.4 1.35891 1.45946 0.49388 0.61871 3.93096 sec.
5.4.3 1.32332 1.45380 0.44431 0.61415 3.83558 sec.
5.4.2 1.89936 1.88023 0.44818 0.62612 4.85389 sec.
5.4.1 1.31340 1.43777 0.44693 0.62649 3.82458 sec.
5.4.0 1.32691 1.45946 0.44825 0.63189 3.86651 sec.
5.3.29 1.43948 1.58263 0.68308 1.18429 4.88948 sec.
5.3.27 1.47808 1.56528 0.66701 1.14382 4.85419 sec.
5.3.23 1.44173 1.56334 0.65448 1.24754 4.90710 sec.
5.3.22 1.52839 1.65164 0.65853 1.15849 4.99705 sec.
5.3.21 1.43477 1.56669 0.64311 1.09717 4.74174 sec.
5.3.20 1.51852 1.56566 0.64969 1.10794 4.84182 sec.
5.3.19 1.47568 1.56667 0.65058 1.11179 4.80472 sec.
5.3.18 1.44393 1.61405 0.72564 1.09095 4.87458 sec.
5.3.17 1.44648 1.53964 0.64633 1.09963 4.73208 sec.
5.3.16 1.42334 1.54689 0.65912 1.10854 4.73790 sec.
5.3.15 1.50699 1.56147 0.66385 1.08694 4.81926 sec.
5.3.14 1.52460 1.62728 0.65560 1.11416 4.92164 sec.
5.3.13 1.52876 1.64192 0.65589 1.13856 4.96513 sec.
5.3.12 1.51441 1.60593 0.68829 1.14133 4.94995 sec.
5.3.11 1.53428 1.62705 0.66105 1.11918 4.94156 sec.
5.3.10 1.62190 1.63205 0.67983 1.11620 5.04998 sec.
5.3.2 1.50797 1.65584 0.66319 1.17564 5.00265 sec.
5.3.1 1.55776 1.66251 0.66800 1.10624 4.99450 sec.
5.3.0 1.51223 1.59462 0.67239 1.10364 4.88287 sec.
5.2.17 1.57035 1.67680 0.93846 2.07863 6.26423 sec.
5.2.16 1.54173 1.70276 0.98444 1.97099 6.19991 sec.
5.1.6 2.21657 2.18691 0.91213 1.96030 7.27591 sec.
5.1.5 1.40273 2.05970 0.94375 2.06385 6.47003 sec.
5.0.5 2.43903 3.06258 4.27195 6.00541 15.77897 sec.
5.0.4 2.25865 2.84342 4.34176 5.84864 15.29246 sec.
4.4.9 2.14187 2.75157 4.12762 5.41156 14.43262 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