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 06/04/2018

<<< Results of 05/28/2018     |     Results of 06/11/2018>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.2.4 0.96406 1.11053 0.26565 0.44223 2.78247 sec.
7.1.0 0.49184 0.58201 0.20089 0.23954 1.51428 sec.
7.0.14 0.46435 0.66648 0.26961 0.39357 1.79401 sec.
7.0.5 0.66691 0.58367 0.21976 0.24862 1.71895 sec.
7.0.4 0.45560 0.85566 0.22780 0.28586 1.82492 sec.
7.0.3 0.39572 0.57490 0.18101 0.37003 1.52165 sec.
7.0.2 0.40560 0.55826 0.17865 0.25911 1.40162 sec.
7.0.1 0.38184 0.60926 0.15176 0.31697 1.45984 sec.
5.6.29 1.42333 1.52512 0.62094 0.65775 4.22714 sec.
5.6.20 1.62870 1.55620 0.59515 0.84381 4.62386 sec.
5.6.19 1.67713 1.61885 0.63994 0.82447 4.76039 sec.
5.6.18 1.38184 1.46779 0.53628 0.70622 4.09212 sec.
5.6.17 1.31170 1.38317 0.46546 0.66835 3.82867 sec.
5.6.2 1.38992 1.60631 0.60082 0.74226 4.33932 sec.
5.5.34 1.48523 1.44235 0.57272 0.72009 4.22040 sec.
5.5.33 1.59021 1.47961 0.47372 0.64509 4.18863 sec.
5.5.32 1.27717 1.39859 0.57717 0.80748 4.06040 sec.
5.5.31 1.64391 1.63805 0.47141 0.66152 4.41489 sec.
5.5.18 1.56936 1.95811 0.51789 0.65636 4.70171 sec.
5.5.5 1.56906 1.70816 0.58334 0.66023 4.52079 sec.
5.5.0.a6 1.48211 1.61401 0.55089 0.66277 4.30978 sec.
5.5.0.a.5 1.47995 1.86826 0.50527 1.19291 5.04640 sec.
5.5.0.a.2 1.44287 1.48507 0.54090 0.64144 4.11028 sec.
5.4.34 1.44072 1.52874 0.46447 0.95403 4.38796 sec.
5.4.21 1.85564 2.05279 0.46973 0.64830 5.02645 sec.
5.4.13 1.54474 1.54802 0.51233 0.66123 4.26632 sec.
5.4.12 1.46912 1.57324 0.46754 0.75547 4.26538 sec.
5.4.11 1.40329 1.52242 0.51779 0.73830 4.18180 sec.
5.4.10 1.77721 1.73177 0.46856 0.66725 4.64478 sec.
5.4.9 1.38584 1.58362 0.47178 0.66351 4.10475 sec.
5.4.8 1.41036 1.70773 0.51931 0.68120 4.31859 sec.
5.4.7 1.63114 2.55410 0.47872 0.77119 5.43516 sec.
5.4.6 1.71291 1.53701 0.47280 0.66394 4.38666 sec.
5.4.5 1.41533 1.56450 0.56042 0.79906 4.33931 sec.
5.4.4 1.77672 1.58039 0.53511 0.64353 4.53575 sec.
5.4.3 1.68600 2.01920 0.48390 0.65070 4.83980 sec.
5.4.2 1.46128 1.51809 0.57121 0.76441 4.31499 sec.
5.4.1 1.75470 1.70786 0.48110 0.65104 4.59471 sec.
5.4.0 1.94575 1.62554 0.46713 0.67299 4.71141 sec.
5.3.29 1.53145 1.61834 0.79262 1.20821 5.15062 sec.
5.3.27 1.58712 1.67854 0.72108 1.18551 5.17225 sec.
5.3.23 1.50767 1.95035 0.70290 1.27978 5.44070 sec.
5.3.22 1.70274 1.63297 0.78701 1.31644 5.43915 sec.
5.3.21 1.55210 1.95795 0.76924 1.29403 5.57332 sec.
5.3.20 1.70588 1.72260 0.70112 1.20728 5.33687 sec.
5.3.19 1.56556 1.66247 0.69584 1.48794 5.41181 sec.
5.3.18 1.61968 1.64272 0.73821 1.19144 5.19205 sec.
5.3.17 1.51252 1.60127 0.67166 1.14365 4.92910 sec.
5.3.16 1.56067 1.66582 0.72758 1.18601 5.14008 sec.
5.3.15 1.61636 1.61715 0.76347 1.11011 5.10708 sec.
5.3.14 1.62869 1.79269 0.74409 1.16226 5.32773 sec.
5.3.13 1.61212 1.67742 0.75008 1.15798 5.19760 sec.
5.3.12 1.78653 1.71116 0.89641 1.11792 5.51202 sec.
5.3.11 1.58518 1.67931 0.69457 1.12206 5.08112 sec.
5.3.10 1.55589 2.63792 1.00410 1.18234 6.38025 sec.
5.3.2 1.66471 1.76430 0.69948 1.14898 5.27747 sec.
5.3.1 1.81537 1.69548 0.68192 1.15939 5.35216 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 0.35840 1.17561 2.50940 4.04341 sec.
5.1.6 2.21640 2.31443 1.01577 2.10340 7.65000 sec.
5.1.5 1.73179 2.40296 0.98827 2.19489 7.31791 sec.
5.0.5 2.65546 3.55728 4.88562 6.85616 17.95451 sec.
5.0.4 2.39053 3.22696 3.21967 0.00000 8.83717 sec.
4.4.9 2.27411 2.96918 4.33466 5.74078 15.31873 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