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

<<< Results of 01/01/2017     |     Results of 01/08/2018>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.94796 1.01579 0.24701 0.27908 2.48984 sec.
7.0.14 0.57048 0.78646 0.22306 0.24697 1.82698 sec.
7.0.5 0.42663 0.65995 0.16547 0.27888 1.53093 sec.
7.0.4 0.53744 0.57525 0.22962 0.25976 1.60207 sec.
7.0.3 0.39365 0.61214 0.18008 0.24528 1.43115 sec.
7.0.2 0.40094 0.58163 0.20331 0.24034 1.42621 sec.
7.0.1 0.38669 0.61964 0.15566 0.23066 1.39266 sec.
5.6.29 1.35826 1.46470 0.48582 0.73875 4.04752 sec.
5.6.20 1.38013 1.45359 0.52285 0.66617 4.02274 sec.
5.6.19 1.31602 1.42246 0.53989 0.65788 3.93625 sec.
5.6.18 1.28647 1.48591 0.48830 0.66022 3.92091 sec.
5.6.17 1.28631 1.41275 0.52201 0.64006 3.86112 sec.
5.6.2 1.42875 1.63229 0.48618 0.64850 4.19572 sec.
5.5.34 1.29569 1.53871 0.48034 0.68905 4.00380 sec.
5.5.33 1.31860 1.50928 0.50002 0.70933 4.03723 sec.
5.5.32 1.28214 1.57427 0.47027 0.72819 4.05487 sec.
5.5.31 1.42412 1.53976 0.54394 0.73190 4.23972 sec.
5.5.18 1.53247 1.59668 0.50276 0.63881 4.27072 sec.
5.5.5 1.62478 1.82105 0.48329 0.70186 4.63099 sec.
5.5.0.a6 1.39780 1.64151 0.48854 0.67188 4.19973 sec.
5.5.0.a.5 1.48663 1.67136 0.52393 0.68596 4.36787 sec.
5.5.0.a.2 1.47104 1.58808 0.49924 0.69114 4.24951 sec.
5.4.34 1.48651 1.66480 0.48284 0.69544 4.32959 sec.
5.4.21 1.47558 1.61744 0.49212 0.72210 4.30724 sec.
5.4.13 1.48608 1.62966 0.47686 0.72068 4.31327 sec.
5.4.12 1.50531 1.58867 0.56814 0.66281 4.32493 sec.
5.4.11 1.44834 1.64326 0.49140 0.68316 4.26616 sec.
5.4.10 1.47083 1.64936 0.51005 0.71582 4.34605 sec.
5.4.9 1.48522 1.72297 0.53575 0.75835 4.50228 sec.
5.4.8 1.54601 1.64302 0.48262 0.66848 4.34012 sec.
5.4.7 1.55314 1.75905 0.49124 0.67774 4.48116 sec.
5.4.6 1.58143 1.86639 0.95333 1.29928 5.70043 sec.
5.4.5 1.50388 1.61348 0.51574 0.69155 4.32465 sec.
5.4.4 1.49856 1.60044 0.49916 0.67340 4.27156 sec.
5.4.3 1.43467 1.61936 0.48510 0.74381 4.28294 sec.
5.4.2 1.46170 1.59783 0.48485 0.65385 4.19823 sec.
5.4.1 1.50545 1.52873 0.47695 0.69743 4.20855 sec.
5.4.0 1.49494 1.59233 0.47314 0.71915 4.27956 sec.
5.3.29 1.60372 1.73720 0.74867 1.20250 5.29209 sec.
5.3.27 1.73759 1.73496 0.70874 1.21660 5.39789 sec.
5.3.23 1.56173 1.74201 0.76911 1.27004 5.34288 sec.
5.3.22 1.60933 1.78248 0.69058 1.20627 5.28866 sec.
5.3.21 1.56047 1.78245 0.74910 1.15544 5.24746 sec.
5.3.20 1.68261 1.71913 0.73372 1.30907 5.44454 sec.
5.3.19 1.60803 1.81674 0.74715 1.22074 5.39267 sec.
5.3.18 1.59195 1.81644 0.73441 1.19860 5.34140 sec.
5.3.17 1.54454 1.79806 0.70690 1.15296 5.20246 sec.
5.3.16 1.54883 1.60490 0.71032 1.16191 5.02596 sec.
5.3.15 1.68861 1.82768 0.79596 1.19046 5.50270 sec.
5.3.14 1.66853 1.85539 0.72935 1.15874 5.41201 sec.
5.3.13 1.66573 1.76624 0.70914 1.19814 5.33925 sec.
5.3.12 1.66873 1.74531 0.71991 1.20048 5.33444 sec.
5.3.11 1.64324 1.79051 0.75533 1.24571 5.43480 sec.
5.3.10 1.75172 1.71785 0.76869 1.16593 5.40420 sec.
5.3.2 1.75849 2.49623 1.19260 0.59637 6.04369 sec.
5.3.1 1.74338 1.79920 0.73351 1.19211 5.46820 sec.
5.3.0 1.75216 1.85975 0.70820 1.16758 5.48769 sec.
5.2.17 1.83723 1.88142 1.10254 2.28123 7.10243 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.71018 1.04629 2.22015 3.97662 sec.
5.0.5 2.77797 3.36780 4.75740 6.57420 17.47737 sec.
5.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
4.4.9 0.00000 0.00000 0.00000 0.00000 0.00000 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