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

<<< Results of 08/21/2017     |     Results of 09/04/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.75550 0.53378 0.16262 0.23410 1.68600 sec.
7.0.14 0.36209 0.54344 0.18388 0.25236 1.34177 sec.
7.0.5 0.39368 0.55522 0.14481 0.23799 1.33170 sec.
7.0.4 0.40305 0.53873 0.14760 0.23249 1.32187 sec.
7.0.3 0.35554 0.53381 0.13977 0.21880 1.24793 sec.
7.0.2 0.41219 0.53917 0.17515 0.22425 1.35076 sec.
7.0.1 0.36250 0.55203 0.14761 0.21996 1.28210 sec.
5.6.29 1.18342 1.29434 0.48161 0.62475 3.58412 sec.
5.6.20 1.24957 1.37286 0.45927 0.62940 3.71111 sec.
5.6.19 1.17350 1.33172 0.45357 0.60742 3.56621 sec.
5.6.18 1.19094 1.29680 0.50402 0.63744 3.62920 sec.
5.6.17 1.20705 1.34576 0.46052 0.61592 3.62925 sec.
5.6.2 1.39804 1.51181 0.48473 0.61545 4.01003 sec.
5.5.34 1.18540 1.32806 0.45118 0.61470 3.57934 sec.
5.5.33 1.23668 1.33824 0.50537 0.59464 3.67493 sec.
5.5.32 1.29473 1.37448 0.45167 0.63107 3.75195 sec.
5.5.31 1.21522 1.37701 0.45026 0.60776 3.65025 sec.
5.5.18 1.36057 1.50290 0.47241 0.65880 3.99469 sec.
5.5.5 1.34405 1.46279 0.45744 0.60106 3.86534 sec.
5.5.0.a6 1.29427 1.43083 0.46416 0.62762 3.81689 sec.
5.5.0.a.5 1.35844 1.46588 0.47763 0.63764 3.93960 sec.
5.5.0.a.2 1.47118 1.42834 0.46157 0.62749 3.98858 sec.
5.4.34 1.31514 1.50602 0.45493 0.62041 3.89650 sec.
5.4.21 1.39488 1.48931 0.45016 0.62867 3.96302 sec.
5.4.13 1.35462 1.57687 0.45715 0.63174 4.02038 sec.
5.4.12 1.35561 1.49813 0.46030 0.61399 3.92803 sec.
5.4.11 1.32319 1.44736 0.45090 0.64167 3.86311 sec.
5.4.10 1.37004 1.56023 0.45231 0.65010 4.03268 sec.
5.4.9 1.47847 1.52297 0.45406 0.63441 4.08991 sec.
5.4.8 1.36462 1.52840 0.45106 0.64542 3.98950 sec.
5.4.7 1.34773 1.46497 0.45668 0.64674 3.91613 sec.
5.4.6 1.36948 1.49823 0.45254 0.64717 3.96742 sec.
5.4.5 1.32129 1.47396 0.48302 0.63751 3.91578 sec.
5.4.4 1.38494 1.48416 0.48624 0.63055 3.98589 sec.
5.4.3 1.43070 1.83459 0.81289 0.91014 4.98832 sec.
5.4.2 1.34481 1.48342 0.44804 0.62222 3.89849 sec.
5.4.1 1.33690 1.48326 0.45345 0.62323 3.89684 sec.
5.4.0 1.34349 1.53658 0.44842 0.64359 3.97208 sec.
5.3.29 1.54151 1.55857 0.70638 1.21032 5.01679 sec.
5.3.27 1.49110 1.61647 0.68102 1.18124 4.96984 sec.
5.3.23 1.44113 1.60956 0.66265 1.20331 4.91665 sec.
5.3.22 1.48946 1.69872 0.68483 1.15974 5.03275 sec.
5.3.21 1.47652 1.59928 0.65271 1.12208 4.85059 sec.
5.3.20 1.49048 1.58045 0.68773 1.16408 4.92274 sec.
5.3.19 1.49422 1.68238 0.66088 1.07396 4.91143 sec.
5.3.18 1.44188 1.59612 0.70078 1.15144 4.89022 sec.
5.3.17 1.50612 1.61450 0.65417 1.11500 4.88979 sec.
5.3.16 1.49781 1.56864 0.66206 1.13202 4.86054 sec.
5.3.15 1.54728 1.60939 0.66478 1.10843 4.92987 sec.
5.3.14 1.72667 1.71348 0.68701 1.10859 5.23575 sec.
5.3.13 1.54660 1.65600 0.71495 1.15403 5.07157 sec.
5.3.12 1.53981 1.69769 0.69507 1.21307 5.14564 sec.
5.3.11 1.55154 1.64324 0.66346 1.11043 4.96867 sec.
5.3.10 1.53425 1.68243 0.68868 1.12976 5.03512 sec.
5.3.2 1.56268 1.66004 0.67649 1.12139 5.02060 sec.
5.3.1 1.59702 1.74514 0.66664 1.13416 5.14296 sec.
5.3.0 1.58749 1.66165 0.66602 1.10227 5.01744 sec.
5.2.17 1.57550 1.72834 0.94680 2.24295 6.49359 sec.
5.2.16 1.55558 2.77979 0.97839 1.99717 7.31093 sec.
5.1.6 1.43996 2.13191 0.91738 1.96041 6.44965 sec.
5.1.5 1.44270 2.14084 1.01327 2.12538 6.72218 sec.
5.0.5 2.54270 3.13404 4.27758 6.14977 16.10410 sec.
5.0.4 2.22996 2.85935 4.39737 5.93986 15.42655 sec.
4.4.9 2.20308 2.82620 4.29346 5.60289 14.92564 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