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 07/03/2017

<<< Results of 06/26/2017     |     Results of 07/10/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.81499 0.69733 0.14307 0.22343 1.87882 sec.
7.0.14 0.35385 0.53962 0.17064 0.21699 1.28110 sec.
7.0.5 0.36980 0.52772 0.14295 0.22328 1.26375 sec.
7.0.4 0.35045 0.53483 0.14340 0.21619 1.24487 sec.
7.0.3 0.35073 0.53138 0.14202 0.21923 1.24336 sec.
7.0.2 0.35783 0.52544 0.17564 0.21662 1.27553 sec.
7.0.1 0.36823 0.54912 0.14315 0.21671 1.27722 sec.
5.6.29 1.27312 1.26306 0.48266 0.61360 3.63244 sec.
5.6.20 1.17126 1.29464 0.44773 0.59556 3.50919 sec.
5.6.19 1.16742 1.31188 0.44751 0.59694 3.52374 sec.
5.6.18 1.18754 1.28497 0.44780 0.59246 3.51277 sec.
5.6.17 1.19010 1.31180 0.45083 0.59335 3.54608 sec.
5.6.2 1.35497 1.41698 0.46481 0.59377 3.83052 sec.
5.5.34 1.21531 1.31540 0.44520 0.59728 3.57320 sec.
5.5.33 1.20672 1.32605 0.51199 0.59638 3.64113 sec.
5.5.32 1.19879 1.32615 0.44508 0.59241 3.56243 sec.
5.5.31 1.18909 1.31609 0.44965 0.59233 3.54717 sec.
5.5.18 1.33025 1.45961 0.46726 0.64130 3.89841 sec.
5.5.5 1.37211 1.49086 0.44781 0.59553 3.90631 sec.
5.5.0.a6 1.29463 1.45957 0.46145 0.61336 3.82901 sec.
5.5.0.a.5 1.32479 1.42982 0.47427 0.63089 3.85978 sec.
5.5.0.a.2 1.27297 1.44933 0.45683 0.60435 3.78348 sec.
5.4.34 1.31476 1.47280 0.44750 0.61107 3.84613 sec.
5.4.21 1.36793 1.45627 0.44603 0.61746 3.88769 sec.
5.4.13 1.33219 1.46715 0.45654 0.62911 3.88498 sec.
5.4.12 1.33317 1.45191 0.44740 0.61882 3.85129 sec.
5.4.11 1.38987 1.45266 0.44391 0.63046 3.91690 sec.
5.4.10 1.36733 1.47789 0.44728 0.64153 3.93403 sec.
5.4.9 1.38557 1.53673 0.46134 0.63428 4.01792 sec.
5.4.8 1.34091 1.44937 0.44714 0.64130 3.87872 sec.
5.4.7 1.34605 1.44720 0.44698 0.63878 3.87900 sec.
5.4.6 1.36738 1.46813 0.44335 0.66739 3.94625 sec.
5.4.5 1.31224 1.44906 0.44404 0.61361 3.81894 sec.
5.4.4 1.35369 1.48537 0.47033 0.61452 3.92391 sec.
5.4.3 1.31351 1.45769 0.46837 0.61357 3.85314 sec.
5.4.2 2.18846 1.62766 0.44823 0.63076 4.89512 sec.
5.4.1 1.30114 1.44570 0.45026 0.61323 3.81033 sec.
5.4.0 1.35677 1.44691 0.45408 0.64170 3.89946 sec.
5.3.29 1.45542 1.58208 0.68265 1.18016 4.90032 sec.
5.3.27 1.46361 1.56422 0.66604 1.14245 4.83632 sec.
5.3.23 1.46654 1.54602 0.65373 1.18031 4.84660 sec.
5.3.22 1.50448 1.59336 0.66674 1.13914 4.90371 sec.
5.3.21 1.43468 1.55868 0.69271 1.10553 4.79159 sec.
5.3.20 1.46449 1.55948 0.66457 1.12428 4.81282 sec.
5.3.19 1.47878 1.55933 0.64397 1.11134 4.79342 sec.
5.3.18 1.44588 1.57139 0.67014 1.10935 4.79677 sec.
5.3.17 1.42623 1.54687 0.64571 1.09818 4.71699 sec.
5.3.16 1.44810 1.56146 0.65836 1.10821 4.77612 sec.
5.3.15 1.44702 1.54455 0.65778 1.07747 4.72682 sec.
5.3.14 1.52419 1.61041 0.65978 1.11501 4.90940 sec.
5.3.13 1.52515 1.65350 0.65392 1.12604 4.95860 sec.
5.3.12 1.51806 1.60515 0.67893 1.16121 4.96335 sec.
5.3.11 1.56535 1.60527 0.65632 1.10545 4.93239 sec.
5.3.10 1.50688 1.59439 0.67992 1.15534 4.93654 sec.
5.3.2 1.53323 1.60660 0.65548 1.09259 4.88791 sec.
5.3.1 1.54741 1.62383 0.65973 1.11708 4.94805 sec.
5.3.0 1.52268 1.61550 0.66820 1.07919 4.88556 sec.
5.2.17 1.56547 1.72783 0.96763 2.05821 6.31914 sec.
5.2.16 1.53383 1.63657 0.94449 1.97452 6.08942 sec.
5.1.6 2.29590 2.30854 0.91238 1.91770 7.43452 sec.
5.1.5 1.42501 2.05256 0.94535 2.05742 6.48033 sec.
5.0.5 2.42127 3.02550 4.27121 6.02490 15.74288 sec.
5.0.4 2.21771 2.84867 4.30885 5.89664 15.27188 sec.
4.4.9 2.13643 2.75792 4.12205 5.36096 14.37736 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