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/24/2018

<<< Results of 05/14/2018

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.2.4 0.81102 0.69453 0.16679 0.28712 1.95946 sec.
7.1.0 0.38060 0.55200 0.16202 0.24227 1.33689 sec.
7.0.14 0.36811 0.56711 0.17883 0.22896 1.34301 sec.
7.0.5 0.38201 0.56874 0.15112 0.23076 1.33263 sec.
7.0.4 0.36538 0.74060 0.18396 0.23693 1.52687 sec.
7.0.3 0.43005 0.57023 0.15280 0.22854 1.38162 sec.
7.0.2 0.36770 0.55427 0.17673 0.22629 1.32499 sec.
7.0.1 0.37106 0.56459 0.15442 0.24815 1.33822 sec.
5.6.29 1.25811 1.37712 0.46500 0.61397 3.71420 sec.
5.6.20 1.20050 1.37833 0.48327 0.63056 3.69265 sec.
5.6.19 1.25023 1.33882 0.64030 0.79770 4.02705 sec.
5.6.18 1.29548 1.31659 0.47456 0.61608 3.70272 sec.
5.6.17 1.21776 1.35970 0.54676 0.65871 3.78294 sec.
5.6.2 1.36810 1.50388 0.46611 0.61183 3.94992 sec.
5.5.34 1.22070 1.40666 0.45977 0.66241 3.74953 sec.
5.5.33 1.24774 1.41602 0.45772 0.60552 3.72700 sec.
5.5.32 1.23242 1.35151 0.48424 0.61453 3.68269 sec.
5.5.31 1.27025 1.33421 0.45068 0.65891 3.71405 sec.
5.5.18 1.35024 1.49201 0.46687 0.61323 3.92235 sec.
5.5.5 1.35184 1.48184 0.48025 0.62770 3.94163 sec.
5.5.0.a6 1.44366 1.55973 0.47769 0.63565 4.11672 sec.
5.5.0.a.5 1.42877 1.48804 0.46800 0.62683 4.01164 sec.
5.5.0.a.2 1.32220 1.43085 0.46879 0.61782 3.83965 sec.
5.4.34 1.41685 1.49297 0.45991 0.65491 4.02463 sec.
5.4.21 1.39438 1.54588 0.45993 0.62791 4.02811 sec.
5.4.13 1.41656 1.52419 0.46776 0.64494 4.05344 sec.
5.4.12 1.39246 1.53127 0.47361 0.70170 4.09904 sec.
5.4.11 1.39828 1.54815 0.46147 0.65830 4.06619 sec.
5.4.10 1.36543 1.52521 0.46347 0.65084 4.00495 sec.
5.4.9 1.40238 1.51145 0.47473 0.65696 4.04553 sec.
5.4.8 1.37097 1.51790 0.46813 0.65185 4.00886 sec.
5.4.7 1.37919 1.50422 0.46570 0.65263 4.00173 sec.
5.4.6 1.39258 1.52330 0.45963 0.65079 4.02630 sec.
5.4.5 1.41290 1.49081 0.45820 0.69249 4.05440 sec.
5.4.4 1.45033 2.45594 0.62454 0.66058 5.19139 sec.
5.4.3 1.36595 1.53507 0.46737 0.63772 4.00611 sec.
5.4.2 1.37321 1.49052 0.49022 0.65937 4.01333 sec.
5.4.1 1.33627 1.49658 0.47492 0.64132 3.94910 sec.
5.4.0 1.36874 1.48264 0.46849 0.65297 3.97283 sec.
5.3.29 1.45356 1.59690 0.71160 1.15116 4.91321 sec.
5.3.27 1.46672 1.59511 0.67946 1.15178 4.89307 sec.
5.3.23 1.52585 1.60224 0.66569 1.17990 4.97367 sec.
5.3.22 1.47547 1.64705 0.69464 1.18709 5.00425 sec.
5.3.21 1.50306 1.62145 0.68231 1.15436 4.96118 sec.
5.3.20 1.60638 1.68177 0.67192 1.13961 5.09968 sec.
5.3.19 1.48211 1.60928 0.67043 1.21468 4.97650 sec.
5.3.18 1.52365 1.63058 0.70363 1.18330 5.04116 sec.
5.3.17 1.48952 1.59564 0.70047 1.13908 4.92472 sec.
5.3.16 1.52527 1.68387 0.72808 1.16277 5.09999 sec.
5.3.15 1.44040 1.56924 0.70868 1.14261 4.86093 sec.
5.3.14 1.58839 1.66279 0.69472 1.13328 5.07918 sec.
5.3.13 1.55241 1.66248 0.73646 1.09507 5.04641 sec.
5.3.12 1.55627 1.69528 0.70822 1.11585 5.07562 sec.
5.3.11 1.53152 1.64763 0.67040 1.11443 4.96399 sec.
5.3.10 1.53100 1.62013 0.66756 1.13227 4.95096 sec.
5.3.2 1.54157 1.66186 0.70217 1.08426 4.98986 sec.
5.3.1 1.61628 1.69632 0.67529 1.13070 5.11859 sec.
5.3.0 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.2.17 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.2.16 0.00000 1.00308 1.25886 2.04010 4.30203 sec.
5.1.6 1.49483 2.18157 0.96824 1.94621 6.59086 sec.
5.1.5 1.48788 2.12896 0.97902 2.10480 6.70067 sec.
5.0.5 2.56011 3.29821 4.48922 6.17290 16.52045 sec.
5.0.4 2.27663 2.96703 4.45914 6.01668 15.71948 sec.
4.4.9 2.19629 2.92308 4.34897 5.48683 14.95517 sec.
 


 


 


Comments

 
 
 
      © 2018 OnlinePHPFunctions.com | Disclaimer |       PHP versions: 7.2.4, 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