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

<<< Results of 05/15/2017

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.60242 0.53613 0.14399 0.22668 1.50922 sec.
7.0.14 0.34914 0.52980 0.17406 0.22093 1.27393 sec.
7.0.5 0.37454 0.53646 0.14338 0.22234 1.27673 sec.
7.0.4 0.35483 0.53905 0.14443 0.22868 1.26699 sec.
7.0.3 0.36784 0.52848 0.14003 0.22126 1.25761 sec.
7.0.2 0.37196 0.54911 0.18370 0.21674 1.32152 sec.
7.0.1 0.35969 0.54687 0.14568 0.22790 1.28014 sec.
5.6.29 1.21191 1.28155 0.48843 0.62186 3.60375 sec.
5.6.20 1.24727 1.29312 0.47577 0.60029 3.61645 sec.
5.6.19 1.21490 1.28671 0.45769 0.59565 3.55495 sec.
5.6.18 1.18722 1.27830 0.45052 0.59844 3.51448 sec.
5.6.17 1.22415 1.29905 0.44826 0.59626 3.56771 sec.
5.6.2 1.33245 1.47839 0.45643 0.59998 3.86725 sec.
5.5.34 1.22433 1.34367 0.48889 0.60241 3.65930 sec.
5.5.33 1.23869 1.32509 0.52787 0.60935 3.70100 sec.
5.5.32 1.20963 1.31575 0.45708 0.59612 3.57859 sec.
5.5.31 1.20017 1.30908 0.45301 0.60108 3.56334 sec.
5.5.18 1.36882 1.45510 0.47799 0.64471 3.94663 sec.
5.5.5 1.32369 1.44369 0.46804 0.61704 3.85247 sec.
5.5.0.a6 1.30060 1.42612 0.47474 0.59798 3.79943 sec.
5.5.0.a.5 1.31219 1.41602 0.47542 0.65596 3.85959 sec.
5.5.0.a.2 1.38756 1.37790 0.45044 0.59812 3.81402 sec.
5.4.34 1.31230 1.47124 0.47965 0.64465 3.90784 sec.
5.4.21 1.36822 1.44799 0.44776 0.61891 3.88288 sec.
5.4.13 1.36834 1.45806 0.46528 0.62370 3.91539 sec.
5.4.12 1.34049 1.45240 0.45748 0.61719 3.86756 sec.
5.4.11 1.35123 1.47365 0.44486 0.63162 3.90136 sec.
5.4.10 1.34211 1.49270 0.45075 0.63318 3.91874 sec.
5.4.9 1.40993 1.52487 0.44904 0.64243 4.02627 sec.
5.4.8 1.35361 1.46541 0.47068 0.67753 3.96723 sec.
5.4.7 1.35558 1.43472 0.45335 0.64116 3.88481 sec.
5.4.6 1.37923 1.46519 0.45417 0.65004 3.94863 sec.
5.4.5 1.31494 1.44810 0.44795 0.61494 3.82593 sec.
5.4.4 1.35252 1.44637 0.47956 0.61970 3.89816 sec.
5.4.3 1.34413 1.42980 0.45801 0.61404 3.84597 sec.
5.4.2 2.15275 1.59464 0.44934 0.63098 4.82770 sec.
5.4.1 1.32993 1.45292 0.45436 0.63329 3.87049 sec.
5.4.0 1.40859 1.46212 0.44643 0.64575 3.96289 sec.
5.3.29 1.48376 1.57550 0.68513 1.17560 4.91999 sec.
5.3.27 1.45339 1.57743 0.68005 1.18460 4.89546 sec.
5.3.23 1.46417 1.57238 0.67004 1.17515 4.88174 sec.
5.3.22 1.49522 1.59704 0.67303 1.15446 4.91975 sec.
5.3.21 1.43978 1.56595 0.64819 1.10867 4.76259 sec.
5.3.20 1.48338 1.62079 0.65500 1.10597 4.86514 sec.
5.3.19 1.48236 1.55720 0.67192 1.10660 4.81808 sec.
5.3.18 1.45217 1.61382 0.67323 1.09589 4.83510 sec.
5.3.17 1.44587 1.56998 0.66426 1.11610 4.79621 sec.
5.3.16 1.43132 1.53065 0.65427 1.10599 4.72223 sec.
5.3.15 1.50040 1.55158 0.65914 1.07992 4.79104 sec.
5.3.14 1.53358 1.64093 0.65753 1.10814 4.94018 sec.
5.3.13 1.52932 1.61951 0.68079 1.12523 4.95486 sec.
5.3.12 1.51483 1.61563 0.69847 1.16960 4.99852 sec.
5.3.11 1.53596 1.59542 0.66355 1.10785 4.90277 sec.
5.3.10 1.53909 1.62787 0.67242 1.11842 4.95781 sec.
5.3.2 1.55512 1.62290 0.66341 1.10294 4.94438 sec.
5.3.1 1.54727 1.66126 0.67452 1.13259 5.01564 sec.
5.3.0 1.56471 1.60915 0.66838 1.09279 4.93503 sec.
5.2.17 1.58243 1.68655 0.93728 2.05625 6.26251 sec.
5.2.16 1.60391 1.80440 0.95753 2.31024 6.67608 sec.
5.1.6 2.03967 2.11030 0.94603 1.98633 7.08234 sec.
5.1.5 1.46968 2.07415 0.96730 2.12797 6.63910 sec.
5.0.5 2.39683 3.03289 4.32212 6.18830 15.94014 sec.
5.0.4 2.20819 2.87470 4.28124 5.79559 15.15972 sec.
4.4.9 2.25791 2.81266 4.15326 5.37762 14.60145 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