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 08/19/2017

<<< Results of 08/07/2017

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.77386 0.99481 0.23701 0.33079 2.33646 sec.
7.0.14 0.34618 0.53340 0.17327 0.22283 1.27568 sec.
7.0.5 0.39879 0.54312 0.14902 0.22031 1.31123 sec.
7.0.4 0.36768 0.54396 0.14543 0.22520 1.28228 sec.
7.0.3 0.35477 0.53137 0.14617 0.24058 1.27289 sec.
7.0.2 0.36263 0.54407 0.18532 0.23031 1.32233 sec.
7.0.1 0.36713 0.54511 0.14493 0.21820 1.27536 sec.
5.6.29 1.16605 1.27558 0.48069 0.61309 3.53541 sec.
5.6.20 1.18064 1.28303 0.45957 0.59590 3.51913 sec.
5.6.19 1.18687 1.27904 0.45081 0.59210 3.50881 sec.
5.6.18 1.16991 1.27659 0.45875 0.59493 3.50018 sec.
5.6.17 1.15848 1.30295 0.44934 0.59643 3.50721 sec.
5.6.2 1.31763 1.42150 0.46067 0.61077 3.81057 sec.
5.5.34 1.20945 1.34837 0.44543 0.59565 3.59890 sec.
5.5.33 1.18830 1.31938 0.50719 0.59228 3.60715 sec.
5.5.32 1.18978 1.30705 0.46435 0.60589 3.56707 sec.
5.5.31 1.25704 1.33255 0.44919 0.59557 3.63436 sec.
5.5.18 1.35749 1.45811 0.48282 0.64628 3.94469 sec.
5.5.5 1.35216 1.54604 0.44748 0.59498 3.94066 sec.
5.5.0.a6 1.29265 1.40822 0.45648 0.60217 3.75952 sec.
5.5.0.a.5 1.36813 1.45076 0.47854 0.63247 3.92990 sec.
5.5.0.a.2 1.29328 1.41943 0.45475 0.61664 3.78409 sec.
5.4.34 1.31732 1.45211 0.45385 0.61529 3.83857 sec.
5.4.21 1.34777 1.49619 0.44983 0.61483 3.90862 sec.
5.4.13 1.33993 1.44927 0.46072 0.63306 3.88298 sec.
5.4.12 1.37156 1.55999 0.47533 0.62704 4.03392 sec.
5.4.11 1.32741 1.44067 0.45121 0.63790 3.85720 sec.
5.4.10 1.38011 1.52926 0.45269 0.65706 4.01912 sec.
5.4.9 1.39260 1.49614 0.44501 0.66923 4.00298 sec.
5.4.8 1.31185 1.43835 0.47369 0.63903 3.86293 sec.
5.4.7 1.36009 1.43228 0.45603 0.64777 3.89616 sec.
5.4.6 1.36579 1.45596 0.45912 0.64552 3.92639 sec.
5.4.5 1.31375 1.45263 0.45238 0.62674 3.84550 sec.
5.4.4 1.41103 1.50601 0.46122 0.61445 3.99270 sec.
5.4.3 1.35176 1.48042 0.44728 0.61719 3.89665 sec.
5.4.2 2.06737 1.71978 0.45062 0.62789 4.86567 sec.
5.4.1 1.29733 1.46545 0.44761 0.61728 3.82766 sec.
5.4.0 1.36747 1.49332 0.44570 0.63608 3.94256 sec.
5.3.29 1.43129 1.58609 0.70425 1.22751 4.94913 sec.
5.3.27 1.44940 1.56156 0.67681 1.16655 4.85432 sec.
5.3.23 1.43416 1.60275 0.68397 1.22039 4.94128 sec.
5.3.22 1.55655 1.60685 0.65526 1.16353 4.98218 sec.
5.3.21 1.45348 1.54606 0.64664 1.11614 4.76232 sec.
5.3.20 1.46567 1.56541 0.65147 1.13536 4.81792 sec.
5.3.19 1.53821 1.58017 0.65884 1.07662 4.85383 sec.
5.3.18 1.43502 1.55960 0.68904 1.12353 4.80719 sec.
5.3.17 1.43397 1.53735 0.65016 1.10581 4.72729 sec.
5.3.16 1.43346 1.54246 0.68112 1.17286 4.82990 sec.
5.3.15 1.46803 1.53673 0.66328 1.07709 4.74513 sec.
5.3.14 1.56125 1.61915 0.70157 1.08759 4.96956 sec.
5.3.13 1.54743 1.61614 0.66175 1.13123 4.95655 sec.
5.3.12 1.55301 1.61024 0.67979 1.16139 5.00443 sec.
5.3.11 1.53807 1.60352 0.65974 1.10980 4.91113 sec.
5.3.10 1.53659 1.58655 0.67520 1.13495 4.93329 sec.
5.3.2 1.55838 1.63180 0.67150 1.10452 4.96619 sec.
5.3.1 1.51763 1.61617 0.65943 1.14603 4.93927 sec.
5.3.0 1.57100 1.62016 0.65753 1.11235 4.96104 sec.
5.2.17 1.58083 1.70028 0.91882 2.05200 6.25194 sec.
5.2.16 1.53648 1.65300 0.94390 2.00532 6.13870 sec.
5.1.6 2.48397 2.07231 0.91665 1.95180 7.42472 sec.
5.1.5 1.45667 2.11722 0.98507 2.08071 6.63967 sec.
5.0.5 2.45307 3.10579 4.28269 6.11953 15.96109 sec.
5.0.4 2.23704 2.82794 4.34029 5.79322 15.19849 sec.
4.4.9 2.16082 2.78427 4.18344 5.43554 14.56407 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