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 11/18/2017

<<< Results of 11/06/2017

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.86943 1.05217 0.25246 0.28076 2.45482 sec.
7.0.14 0.39627 0.55474 0.21758 0.24106 1.40966 sec.
7.0.5 0.39692 0.54531 0.15617 0.24524 1.34364 sec.
7.0.4 0.38313 0.55406 0.15017 0.23629 1.32366 sec.
7.0.3 0.35963 0.54408 0.14485 0.22461 1.27318 sec.
7.0.2 0.35605 0.53286 0.18121 0.22396 1.29408 sec.
7.0.1 0.36823 0.55252 0.15213 0.23263 1.30551 sec.
5.6.29 1.23396 1.31768 0.46184 0.60937 3.62286 sec.
5.6.20 1.18617 1.32474 0.45844 0.60418 3.57352 sec.
5.6.19 1.22208 1.31196 0.46083 0.62522 3.62010 sec.
5.6.18 1.22343 1.33996 0.46157 0.61545 3.64041 sec.
5.6.17 1.24387 1.34131 0.46247 0.60865 3.65630 sec.
5.6.2 1.34193 1.46494 0.46427 0.62749 3.89862 sec.
5.5.34 1.21854 1.36732 0.45104 0.62216 3.65907 sec.
5.5.33 1.32072 1.36128 0.46890 0.61467 3.76557 sec.
5.5.32 1.22406 1.39873 0.45784 0.62333 3.70395 sec.
5.5.31 1.24434 1.32279 0.47789 0.61214 3.65716 sec.
5.5.18 1.35880 1.47766 0.47114 0.62528 3.93288 sec.
5.5.5 1.36655 1.49894 0.45725 0.63763 3.96037 sec.
5.5.0.a6 1.31274 1.46851 0.48491 0.64729 3.91345 sec.
5.5.0.a.5 1.59680 1.51263 0.48941 0.62717 4.22602 sec.
5.5.0.a.2 1.29071 1.43012 0.48625 0.63824 3.84532 sec.
5.4.34 1.37301 1.50049 0.45658 0.62988 3.95995 sec.
5.4.21 1.39190 1.47870 0.45426 0.66028 3.98514 sec.
5.4.13 1.35407 1.48040 0.45776 0.63273 3.92495 sec.
5.4.12 1.38582 1.49894 0.50379 0.63068 4.01924 sec.
5.4.11 1.35258 1.47038 0.46676 0.64217 3.93190 sec.
5.4.10 1.35413 1.47738 0.45688 0.64812 3.93651 sec.
5.4.9 1.46672 1.47668 0.45965 0.69315 4.09620 sec.
5.4.8 1.34817 1.47418 0.45371 0.64701 3.92306 sec.
5.4.7 1.35428 1.45364 0.45348 0.65770 3.91910 sec.
5.4.6 1.34427 1.46697 0.45893 0.65215 3.92232 sec.
5.4.5 1.34293 1.45952 0.45373 0.62205 3.87823 sec.
5.4.4 1.36433 1.51279 0.45968 0.63549 3.97229 sec.
5.4.3 2.07131 1.87317 0.46033 0.71134 5.11615 sec.
5.4.2 1.38370 1.48807 0.46176 0.62920 3.96273 sec.
5.4.1 1.35354 1.46153 0.47949 0.63481 3.92937 sec.
5.4.0 1.36506 1.46101 0.45395 0.65115 3.93119 sec.
5.3.29 1.44704 1.59287 0.68267 1.15649 4.87907 sec.
5.3.27 1.47076 1.60056 0.68773 1.20577 4.96482 sec.
5.3.23 1.47347 1.57244 0.67495 1.15005 4.87091 sec.
5.3.22 1.48852 1.58180 0.66532 1.18810 4.92375 sec.
5.3.21 1.48605 1.58636 0.66770 1.06907 4.80917 sec.
5.3.20 1.49822 1.57123 0.66202 1.13468 4.86615 sec.
5.3.19 1.47105 1.59202 0.67342 1.12945 4.86594 sec.
5.3.18 1.48344 1.56850 0.68492 1.15409 4.89095 sec.
5.3.17 1.43520 1.57231 0.67926 1.13349 4.82026 sec.
5.3.16 1.49159 1.55120 0.67439 1.10399 4.82118 sec.
5.3.15 1.48397 1.56762 0.67530 1.12630 4.85319 sec.
5.3.14 1.56092 1.66380 0.67042 1.15331 5.04845 sec.
5.3.13 1.54300 1.64502 0.66073 1.13113 4.97988 sec.
5.3.12 1.53723 1.62202 0.67722 1.05181 4.88828 sec.
5.3.11 1.52229 1.65647 0.68005 1.12778 4.98660 sec.
5.3.10 1.53496 1.63315 0.68276 1.10801 4.95888 sec.
5.3.2 1.55727 1.63719 0.69834 1.16123 5.05403 sec.
5.3.1 1.56106 1.65091 0.67016 1.12616 5.00829 sec.
5.3.0 1.56938 1.68214 0.66771 1.11533 5.03456 sec.
5.2.17 1.56236 1.72719 0.95845 2.16333 6.41133 sec.
5.2.16 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.1.6 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.1.5 0.00000 0.64404 0.96678 2.10999 3.72082 sec.
5.0.5 2.52116 3.05550 4.37275 6.04547 15.99488 sec.
5.0.4 2.22591 2.88538 4.33044 5.96600 15.40773 sec.
4.4.9 2.17970 2.79825 4.19187 5.44291 14.61274 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