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/02/2016

<<< Results of 04/25/2016

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.0.5 0.88413 0.53977 0.14500 0.24836 1.81726 sec.
7.0.4 0.37769 0.57002 0.14636 0.22698 1.32105 sec.
7.0.3 0.40275 0.53876 0.14376 0.22356 1.30882 sec.
7.0.2 0.35516 0.52772 0.17065 0.21911 1.27264 sec.
7.0.1 0.35340 0.52573 0.14905 0.22351 1.25169 sec.
5.6.20 1.17233 1.45451 0.46513 0.60617 3.69814 sec.
5.6.19 1.18130 1.35614 0.48387 0.62915 3.65046 sec.
5.6.18 1.46030 1.51043 0.54450 0.68037 4.19559 sec.
5.6.17 1.49600 1.49098 0.49758 0.59830 4.08285 sec.
5.6.2 1.34725 1.45636 0.47242 0.64056 3.91660 sec.
5.5.34 1.39860 1.60081 0.57686 0.64328 4.21955 sec.
5.5.33 1.33102 1.44792 0.51196 0.64525 3.93615 sec.
5.5.32 1.31580 1.39474 0.46720 0.62086 3.79860 sec.
5.5.31 1.26830 1.39666 0.46761 0.64425 3.77681 sec.
5.5.18 1.36950 1.56634 0.53574 0.65364 4.12522 sec.
5.5.5 2.98942 1.56446 0.46912 0.62390 5.64690 sec.
5.5.0.a6 1.36318 1.49036 0.46705 0.60985 3.93044 sec.
5.5.0.a.5 1.35180 1.58752 0.47664 0.61557 4.03154 sec.
5.5.0.a.2 1.38369 1.50370 0.46548 0.62667 3.97953 sec.
5.4.34 1.37726 1.51794 0.48297 0.67404 4.05221 sec.
5.4.21 1.47500 1.62634 0.48412 0.63739 4.22285 sec.
5.4.13 1.42839 1.54701 0.46805 0.65490 4.09835 sec.
5.4.12 1.41385 1.53974 0.46776 0.63370 4.05505 sec.
5.4.11 1.35727 1.47293 0.45554 0.67929 3.96503 sec.
5.4.10 1.53232 1.53533 0.46674 0.63298 4.16737 sec.
5.4.9 1.38285 1.49878 0.44710 0.64297 3.97171 sec.
5.4.8 1.38574 1.47060 0.45222 0.71639 4.02495 sec.
5.4.7 1.47003 1.48845 0.50450 0.71783 4.18082 sec.
5.4.6 1.46270 1.53519 0.45826 0.63727 4.09342 sec.
5.4.5 1.37941 1.48822 0.46462 0.62504 3.95729 sec.
5.4.4 1.44659 1.68816 0.48744 0.64454 4.26674 sec.
5.4.3 1.41014 1.71485 0.49233 1.22659 4.84392 sec.
5.4.2 1.78717 1.50938 0.48266 0.66694 4.44614 sec.
5.4.1 1.51857 1.46000 0.45557 0.64310 4.07725 sec.
5.4.0 1.43558 1.51293 0.44949 0.69401 4.09201 sec.
5.3.29 1.46514 1.59849 0.70642 1.22101 4.99107 sec.
5.3.27 1.45836 1.57498 0.69141 1.25918 4.98394 sec.
5.3.23 1.49260 1.61179 0.67900 1.14848 4.93188 sec.
5.3.22 1.42756 1.57774 0.68206 1.16717 4.85453 sec.
5.3.21 1.46161 1.63120 0.69321 1.12224 4.90826 sec.
5.3.20 1.50086 1.59442 0.69964 1.10524 4.90015 sec.
5.3.19 1.48030 1.61647 0.68477 1.06697 4.84850 sec.
5.3.18 1.51610 1.68607 0.71311 1.15937 5.07465 sec.
5.3.17 1.44620 1.60141 0.66786 1.09824 4.81371 sec.
5.3.16 1.48025 1.62693 0.79511 1.15835 5.06063 sec.
5.3.15 1.46880 1.65092 0.71674 1.21923 5.05569 sec.
5.3.14 1.58957 1.61452 0.67222 1.14089 5.01720 sec.
5.3.13 1.60023 1.69314 0.67922 1.07864 5.05123 sec.
5.3.12 1.53027 1.68777 0.72676 1.17969 5.12450 sec.
5.3.11 1.58175 1.76824 0.69563 1.12443 5.17005 sec.
5.3.10 1.53722 1.65065 0.68121 1.16950 5.03858 sec.
5.3.2 1.76293 2.13562 0.79151 1.31029 6.00035 sec.
5.3.1 1.81506 1.92139 0.78687 1.32214 5.84546 sec.
5.3.0 2.08092 2.09548 0.71210 1.06390 5.95240 sec.
5.2.17 1.57161 1.96581 0.94355 2.74224 7.22321 sec.
5.2.16 1.97760 1.64817 0.97273 1.99262 6.59111 sec.
5.1.6 1.39581 2.08817 0.98102 1.93514 6.40013 sec.
5.1.5 1.41109 2.41906 0.95412 2.08189 6.86616 sec.
5.0.5 2.47230 3.20493 4.41467 6.11527 16.20716 sec.
5.0.4 2.27702 2.88581 4.37467 5.99071 15.52821 sec.
4.4.9 2.26680 3.51093 4.82907 5.56703 16.17383 sec.
 


 


 


Comments

 
 
 
      © 2016 OnlinePHPFunctions.com | Disclaimer |       PHP versions: 7.0.5, 7.0.4, 7.0.3, 7.0.2, 7.0.1, 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