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

<<< Results of 05/01/2017     |     Results of 05/15/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.80568 1.07699 0.16771 0.23717 2.28755 sec.
7.0.14 0.34847 0.53612 0.17367 0.21633 1.27460 sec.
7.0.5 0.37686 0.53354 0.14343 0.21737 1.27121 sec.
7.0.4 0.36336 0.53408 0.14858 0.21980 1.26582 sec.
7.0.3 0.36062 0.53783 0.14809 0.21888 1.26542 sec.
7.0.2 0.35396 0.54203 0.17492 0.21918 1.29009 sec.
7.0.1 0.35538 0.52737 0.14765 0.21757 1.24797 sec.
5.6.29 1.15786 1.27703 0.46529 0.64563 3.54581 sec.
5.6.20 1.23735 1.28521 0.45017 0.59683 3.56957 sec.
5.6.19 1.15849 1.29669 0.49047 0.69090 3.63654 sec.
5.6.18 1.20097 1.32756 0.47075 0.63148 3.63076 sec.
5.6.17 1.21597 1.42787 0.46050 0.60996 3.71430 sec.
5.6.2 1.35186 1.47248 0.45543 0.61326 3.89303 sec.
5.5.34 1.23148 1.36927 0.47120 0.59306 3.66501 sec.
5.5.33 1.22224 1.35600 0.44644 0.59974 3.62442 sec.
5.5.32 1.24587 1.50956 0.44557 0.59118 3.79218 sec.
5.5.31 1.19706 1.34080 0.45180 0.59660 3.58625 sec.
5.5.18 1.30506 1.46935 0.48005 0.66411 3.91856 sec.
5.5.5 1.32829 1.49009 0.45420 0.59888 3.87145 sec.
5.5.0.a6 1.32098 1.44337 0.46192 0.66138 3.88765 sec.
5.5.0.a.5 1.37343 1.44175 0.49304 0.68400 3.99222 sec.
5.5.0.a.2 1.45581 1.40663 0.47364 0.61921 3.95529 sec.
5.4.34 1.33196 1.68438 0.47579 0.64583 4.13796 sec.
5.4.21 1.37677 1.49201 0.54891 0.72754 4.14523 sec.
5.4.13 1.42459 1.49085 0.46504 0.65943 4.03991 sec.
5.4.12 1.33629 1.47919 0.45448 0.70187 3.97183 sec.
5.4.11 1.36137 1.62349 0.45177 0.62269 4.05934 sec.
5.4.10 1.35516 1.57494 0.47266 0.67106 4.07382 sec.
5.4.9 1.40444 1.49088 0.44435 0.70976 4.04943 sec.
5.4.8 1.32433 1.48681 0.51646 0.64344 3.97104 sec.
5.4.7 1.39518 1.46644 0.44839 0.64648 3.95649 sec.
5.4.6 1.34684 1.49030 0.46352 0.63070 3.93135 sec.
5.4.5 1.42178 1.45949 0.44347 0.64088 3.96562 sec.
5.4.4 1.37111 1.47043 0.47552 0.63825 3.95530 sec.
5.4.3 1.39665 2.37671 0.51983 0.62894 4.92214 sec.
5.4.2 1.34598 1.46119 0.44779 0.61843 3.87339 sec.
5.4.1 1.34054 1.51025 0.49051 0.65742 3.99872 sec.
5.4.0 1.34117 1.45871 0.49420 0.65736 3.95143 sec.
5.3.29 1.46664 1.60789 0.68648 1.22322 4.98423 sec.
5.3.27 1.68664 1.58050 0.67166 1.15343 5.09223 sec.
5.3.23 1.53841 1.58755 0.68549 1.20325 5.01471 sec.
5.3.22 1.47259 1.58572 0.70165 1.18590 4.94586 sec.
5.3.21 1.48839 1.62297 0.65812 1.11679 4.88627 sec.
5.3.20 1.57496 1.55834 0.65888 1.13212 4.92430 sec.
5.3.19 1.52540 1.60274 0.65238 1.11543 4.89595 sec.
5.3.18 1.45010 1.59078 0.66769 1.17435 4.88291 sec.
5.3.17 1.43267 1.75115 0.66358 1.08819 4.93559 sec.
5.3.16 1.44157 1.70545 0.67155 1.12738 4.94595 sec.
5.3.15 1.48091 1.58673 0.68926 1.13384 4.89075 sec.
5.3.14 1.52651 1.65394 0.67640 1.13931 4.99615 sec.
5.3.13 1.50200 1.61750 0.70009 1.08946 4.90905 sec.
5.3.12 1.50440 1.63255 0.65814 1.13945 4.93453 sec.
5.3.11 1.52696 1.64827 0.68814 1.12265 4.98604 sec.
5.3.10 1.60021 1.62676 0.66651 1.08769 4.98117 sec.
5.3.2 1.53455 1.61882 0.68772 1.09522 4.93631 sec.
5.3.1 1.74261 1.67045 0.67275 1.03007 5.11588 sec.
5.3.0 1.58839 1.66069 0.64969 1.09013 4.98889 sec.
5.2.17 1.61772 1.68790 0.93040 2.03782 6.27384 sec.
5.2.16 1.69594 2.71664 0.96173 2.10777 7.48208 sec.
5.1.6 1.40659 2.06902 0.91434 1.95966 6.34960 sec.
5.1.5 1.44170 2.07083 0.95321 2.07205 6.53778 sec.
5.0.5 2.46264 3.08452 4.32519 6.09716 15.96950 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

 
 
 
      © 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