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

<<< Results of 07/10/2017

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.82716 0.91425 0.14758 0.22549 2.11448 sec.
7.0.14 0.35732 0.52720 0.16902 0.22041 1.27394 sec.
7.0.5 0.38353 0.53777 0.14507 0.22016 1.28654 sec.
7.0.4 0.34675 0.54226 0.14359 0.21666 1.24926 sec.
7.0.3 0.36973 0.52396 0.13964 0.22215 1.25548 sec.
7.0.2 0.35485 0.52994 0.17440 0.21712 1.27631 sec.
7.0.1 0.36620 0.55396 0.14310 0.22330 1.28655 sec.
5.6.29 1.18988 1.28326 0.48120 0.62180 3.57615 sec.
5.6.20 1.19184 1.29576 0.45071 0.59532 3.53363 sec.
5.6.19 1.17609 1.28260 0.46284 0.59555 3.51708 sec.
5.6.18 1.18859 1.30539 0.47324 0.61647 3.58369 sec.
5.6.17 1.19974 1.31449 0.45241 0.60123 3.56786 sec.
5.6.2 1.32812 1.43237 0.45626 0.60474 3.82149 sec.
5.5.34 1.19503 1.33384 0.44817 0.59566 3.57270 sec.
5.5.33 1.21053 1.33769 0.50543 0.59456 3.64821 sec.
5.5.32 1.21504 1.34031 0.44845 0.59601 3.59981 sec.
5.5.31 1.19582 1.30737 0.45455 0.61523 3.57297 sec.
5.5.18 1.33739 1.44136 0.47047 0.64917 3.89839 sec.
5.5.5 1.32645 1.46622 0.45328 0.63547 3.88141 sec.
5.5.0.a6 1.28982 1.41291 0.45501 0.60061 3.75836 sec.
5.5.0.a.5 1.34942 1.47136 0.48255 0.65339 3.95673 sec.
5.5.0.a.2 1.27610 1.41690 0.45185 0.60281 3.74766 sec.
5.4.34 1.32112 1.46978 0.44642 0.66218 3.89949 sec.
5.4.21 1.35520 1.47096 0.44347 0.61850 3.88812 sec.
5.4.13 1.38073 1.48828 0.46409 0.62851 3.96160 sec.
5.4.12 1.33605 1.46168 0.44495 0.62974 3.87242 sec.
5.4.11 1.37980 1.45650 0.45942 0.62818 3.92390 sec.
5.4.10 1.36047 1.46888 0.44536 0.63633 3.91104 sec.
5.4.9 1.38742 1.52245 0.44475 0.62578 3.98039 sec.
5.4.8 1.31343 1.47031 0.44606 0.63653 3.86633 sec.
5.4.7 1.32674 1.42860 0.44515 0.63890 3.83938 sec.
5.4.6 1.33193 1.42782 0.44500 0.64735 3.85209 sec.
5.4.5 1.32390 1.45360 0.44824 0.62159 3.84734 sec.
5.4.4 1.34984 1.44577 0.47035 0.61760 3.88356 sec.
5.4.3 1.31745 1.46665 0.44442 0.61669 3.84521 sec.
5.4.2 2.20736 1.56111 0.46286 0.62231 4.85364 sec.
5.4.1 1.32900 1.46476 0.47848 0.62250 3.89474 sec.
5.4.0 1.35253 1.45198 0.44766 0.62834 3.88052 sec.
5.3.29 1.45547 1.53874 0.68181 1.17800 4.85402 sec.
5.3.27 1.50761 1.55954 0.69321 1.15567 4.91603 sec.
5.3.23 1.43333 1.53301 0.66797 1.17488 4.80919 sec.
5.3.22 1.46492 1.58637 0.66865 1.16958 4.88952 sec.
5.3.21 1.46924 1.59347 0.66443 1.14372 4.87086 sec.
5.3.20 1.46786 1.55067 0.66181 1.10560 4.78594 sec.
5.3.19 1.47148 1.55100 0.65155 1.08744 4.76147 sec.
5.3.18 1.42358 1.54900 0.67086 1.10956 4.75300 sec.
5.3.17 1.43171 1.52698 0.64395 1.11273 4.71537 sec.
5.3.16 1.42323 1.53697 0.65576 1.10406 4.72001 sec.
5.3.15 1.43919 1.54960 0.65818 1.07706 4.72404 sec.
5.3.14 1.52999 1.60946 0.66001 1.09878 4.89824 sec.
5.3.13 1.51713 1.63123 0.66323 1.13012 4.94171 sec.
5.3.12 1.51877 1.61865 0.68434 1.20260 5.02436 sec.
5.3.11 1.57815 1.60622 0.66455 1.15124 5.00016 sec.
5.3.10 1.53474 1.59304 0.68028 1.13517 4.94323 sec.
5.3.2 1.66321 1.64243 0.66260 1.12443 5.09268 sec.
5.3.1 1.52489 1.63810 0.66446 1.10600 4.93344 sec.
5.3.0 1.57786 1.72529 0.64313 1.10927 5.05554 sec.
5.2.17 1.59222 1.68176 0.93026 2.05601 6.26025 sec.
5.2.16 1.59186 1.62075 0.94269 1.97742 6.13273 sec.
5.1.6 2.44992 2.15290 0.92848 1.92866 7.45996 sec.
5.1.5 1.44507 2.11345 0.95412 2.04847 6.56110 sec.
5.0.5 2.41628 3.01685 4.41486 6.01132 15.85930 sec.
5.0.4 2.20199 2.85550 4.37042 5.85353 15.28144 sec.
4.4.9 2.17913 2.79264 4.15110 5.47657 14.59944 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