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

<<< Results of 04/16/2018

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.2.4 0.83588 0.95071 0.16260 0.27815 2.22733 sec.
7.1.0 0.36822 0.54875 0.15353 0.31010 1.38060 sec.
7.0.14 0.39420 0.63509 0.19040 0.28230 1.50198 sec.
7.0.5 0.38234 0.56680 0.15035 0.28496 1.38445 sec.
7.0.4 0.42272 0.64968 0.15141 0.23575 1.45955 sec.
7.0.3 0.43920 0.57807 0.14179 0.22224 1.38131 sec.
7.0.2 0.36765 0.59810 0.17955 0.25616 1.40147 sec.
7.0.1 0.40039 0.55137 0.15206 0.22763 1.33144 sec.
5.6.29 1.33791 1.39144 0.46895 0.63808 3.83638 sec.
5.6.20 1.22718 1.46105 0.47263 0.68964 3.85050 sec.
5.6.19 1.21615 1.43072 0.62768 0.74088 4.01544 sec.
5.6.18 1.23428 1.33665 0.47457 0.61787 3.66337 sec.
5.6.17 1.23498 1.33943 0.46182 0.64106 3.67730 sec.
5.6.2 1.42549 1.54703 0.51785 0.61534 4.10571 sec.
5.5.34 1.32007 1.33784 0.45850 0.70262 3.81903 sec.
5.5.33 1.25702 1.43685 0.46355 0.62332 3.78075 sec.
5.5.32 1.25599 1.43516 0.48175 0.64330 3.81621 sec.
5.5.31 1.24065 1.36534 0.45692 0.67720 3.74011 sec.
5.5.18 1.35728 1.53893 0.46301 0.62120 3.98042 sec.
5.5.5 1.43909 1.51667 0.48669 0.71222 4.15468 sec.
5.5.0.a6 1.35223 1.51706 0.47733 0.66098 4.00761 sec.
5.5.0.a.5 1.39366 1.52865 0.46887 0.66569 4.05687 sec.
5.5.0.a.2 1.47890 1.46464 0.47437 0.62394 4.04185 sec.
5.4.34 1.36863 1.64907 0.45872 0.63508 4.11150 sec.
5.4.21 1.44946 1.55594 0.46781 0.64056 4.11378 sec.
5.4.13 1.40896 1.62747 0.46835 0.62915 4.13393 sec.
5.4.12 1.36300 1.56597 0.46683 0.70780 4.10360 sec.
5.4.11 1.35299 1.53583 0.46203 0.65299 4.00384 sec.
5.4.10 1.37509 1.53391 0.46202 0.65705 4.02806 sec.
5.4.9 1.40010 1.55197 0.47056 0.71345 4.13608 sec.
5.4.8 1.36575 1.54479 0.47949 0.66555 4.05558 sec.
5.4.7 1.40477 1.51582 0.49131 0.66243 4.07433 sec.
5.4.6 1.39225 1.54737 0.46719 0.67856 4.08537 sec.
5.4.5 1.40571 1.51739 0.45502 0.68597 4.06410 sec.
5.4.4 2.51989 1.65563 0.46197 0.63517 5.27266 sec.
5.4.3 1.37324 1.51741 0.46142 0.71997 4.07204 sec.
5.4.2 1.48220 1.74012 0.50324 0.64950 4.37505 sec.
5.4.1 1.34441 1.50369 0.46256 0.63777 3.94843 sec.
5.4.0 1.44317 1.49840 0.53291 0.64736 4.12184 sec.
5.3.29 1.48141 1.60291 0.72115 1.19821 5.00368 sec.
5.3.27 1.47056 1.64584 0.69832 1.15924 4.97396 sec.
5.3.23 1.47783 1.60238 0.67697 1.19564 4.95283 sec.
5.3.22 1.49184 1.63902 0.69013 1.17981 5.00079 sec.
5.3.21 1.49145 1.60398 0.67811 1.17328 4.94682 sec.
5.3.20 1.50275 1.60073 0.73050 1.15798 4.99197 sec.
5.3.19 1.49038 1.64287 0.67721 1.23619 5.04664 sec.
5.3.18 1.49613 1.69764 0.68962 1.16053 5.04392 sec.
5.3.17 1.46763 1.71939 0.73605 1.14105 5.06413 sec.
5.3.16 1.50567 1.61398 0.71055 1.14940 4.97960 sec.
5.3.15 1.52181 1.61458 0.70213 1.15093 4.98945 sec.
5.3.14 1.55133 1.72021 0.68684 1.13876 5.09715 sec.
5.3.13 1.58212 1.75978 0.74286 1.11234 5.19711 sec.
5.3.12 1.57054 1.66340 0.72800 1.14442 5.10636 sec.
5.3.11 1.54719 1.69097 0.69686 1.14919 5.08422 sec.
5.3.10 1.58449 1.65500 0.66072 1.16153 5.06174 sec.
5.3.2 1.61224 1.68687 0.67281 1.17024 5.14216 sec.
5.3.1 1.71229 1.72648 0.68459 1.15241 5.27577 sec.
5.3.0 1.64187 1.75472 0.70165 1.28303 5.38127 sec.
5.2.17 2.55703 1.72187 1.00798 2.16929 7.45616 sec.
5.2.16 1.60107 1.74042 1.01089 2.14520 6.49758 sec.
5.1.6 1.44990 2.18555 0.96495 2.01514 6.61554 sec.
5.1.5 1.48527 2.26042 1.01766 2.12400 6.88735 sec.
5.0.5 2.50548 2.58964 0.00000 0.00000 5.09513 sec.
5.0.4 2.33883 2.94574 4.65976 5.94721 15.89154 sec.
4.4.9 2.27086 2.88658 4.24276 5.65368 15.05389 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