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

<<< Results of 12/26/2016     |     Results of 01/09/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.83385 1.01954 0.26417 0.35262 2.47018 sec.
7.0.14 0.37726 0.56660 0.17929 0.23807 1.36122 sec.
7.0.5 0.40888 0.61551 0.17397 0.27648 1.47484 sec.
7.0.4 0.38789 0.57432 0.14846 0.22513 1.33579 sec.
7.0.3 0.38713 0.55196 0.15471 0.23315 1.32695 sec.
7.0.2 0.36609 0.54489 0.36561 0.23723 1.51382 sec.
7.0.1 0.36986 0.53730 0.15233 0.26563 1.32512 sec.
5.6.29 1.25871 1.34588 0.50551 0.63184 3.74194 sec.
5.6.20 1.24157 1.34795 0.45830 0.60817 3.65599 sec.
5.6.19 1.47937 1.34492 0.47338 0.64172 3.93938 sec.
5.6.18 1.22418 1.31777 0.47614 0.61149 3.62958 sec.
5.6.17 1.30077 1.35047 0.51201 0.67133 3.83459 sec.
5.6.2 1.40428 1.49656 0.47207 0.62087 3.99378 sec.
5.5.34 1.38558 1.37829 0.45656 0.61267 3.83310 sec.
5.5.33 1.51380 1.46656 0.49618 0.61620 4.09274 sec.
5.5.32 1.25128 1.38300 0.46358 0.62420 3.72205 sec.
5.5.31 1.25993 1.33253 0.46353 0.68099 3.73698 sec.
5.5.18 1.35776 1.54481 0.46201 0.61096 3.97554 sec.
5.5.5 1.37783 1.48852 0.46270 0.70600 4.03506 sec.
5.5.0.a6 1.42080 1.52066 0.46673 0.64558 4.05377 sec.
5.5.0.a.5 1.45740 1.59754 0.48945 0.67396 4.21835 sec.
5.5.0.a.2 1.33364 1.50884 0.46293 0.60844 3.91384 sec.
5.4.34 1.51245 1.50293 0.46913 0.64503 4.12954 sec.
5.4.21 1.36242 1.56944 0.47098 0.65801 4.06085 sec.
5.4.13 1.36297 1.53607 0.50739 0.63934 4.04577 sec.
5.4.12 1.37434 1.59704 0.58242 0.74952 4.30332 sec.
5.4.11 1.34809 1.49323 0.45990 0.64743 3.94865 sec.
5.4.10 1.38973 1.54836 0.44838 0.65353 4.04000 sec.
5.4.9 1.38197 1.50428 0.45752 0.75202 4.09578 sec.
5.4.8 1.43277 1.64882 0.48584 0.65835 4.22577 sec.
5.4.7 1.41749 1.51102 0.48700 0.65870 4.07421 sec.
5.4.6 1.40706 1.56923 0.47038 0.68503 4.13169 sec.
5.4.5 1.42408 1.53774 0.45199 0.62024 4.03404 sec.
5.4.4 2.13581 1.77339 0.44789 0.63052 4.98762 sec.
5.4.3 1.44171 1.58712 0.47926 0.65654 4.16462 sec.
5.4.2 1.38510 1.48780 0.51060 0.68445 4.06795 sec.
5.4.1 1.50795 1.54297 0.46960 0.63284 4.15337 sec.
5.4.0 1.38686 1.51031 0.47445 0.72242 4.09405 sec.
5.3.29 1.80753 1.75015 0.71034 1.30808 5.57610 sec.
5.3.27 1.68803 1.58446 0.72041 1.16084 5.15374 sec.
5.3.23 1.63272 1.68169 0.74516 1.23146 5.29102 sec.
5.3.22 1.47037 1.60739 0.67546 1.21555 4.96877 sec.
5.3.21 1.53703 1.61929 0.68809 1.14045 4.98486 sec.
5.3.20 1.55700 1.58602 0.66513 1.12138 4.92953 sec.
5.3.19 1.47886 1.61626 0.70822 1.15604 4.95937 sec.
5.3.18 1.50725 1.83007 0.72448 1.12656 5.18837 sec.
5.3.17 1.46726 1.59636 0.66907 1.17194 4.90463 sec.
5.3.16 1.59516 1.64869 0.68300 1.13962 5.06647 sec.
5.3.15 1.48889 1.65912 0.72444 1.16645 5.03891 sec.
5.3.14 1.59029 1.73522 0.70258 1.15626 5.18435 sec.
5.3.13 1.58257 1.70623 0.69463 1.16301 5.14644 sec.
5.3.12 1.71278 1.72019 0.75320 1.20919 5.39536 sec.
5.3.11 1.58151 1.73650 0.69053 1.18228 5.19082 sec.
5.3.10 1.54227 1.67440 0.71798 1.12854 5.06320 sec.
5.3.2 1.76693 1.87066 0.73486 1.12208 5.49453 sec.
5.3.1 1.57925 1.64816 0.68375 1.23463 5.14580 sec.
5.3.0 1.91468 2.25992 1.01477 1.18374 6.37312 sec.
5.2.17 1.64295 1.74286 1.02078 2.09594 6.50253 sec.
5.2.16 1.70446 1.72558 1.01130 2.06849 6.50983 sec.
5.1.6 1.53726 2.16911 0.93415 2.16205 6.80258 sec.
5.1.5 1.51986 2.12843 1.08152 2.27036 7.00018 sec.
5.0.5 2.67442 3.60840 4.35865 6.30866 16.95013 sec.
5.0.4 2.22654 3.05803 4.58671 6.03178 15.90305 sec.
4.4.9 2.26502 2.94263 4.29568 5.80809 15.31142 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