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 06/26/2016

<<< Results of 06/13/2016

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.0.5 0.94477 1.05524 0.16021 0.24481 2.40503 sec.
7.0.4 0.42896 0.56696 0.14371 0.22424 1.36387 sec.
7.0.3 0.35714 0.55304 0.14467 0.23346 1.28830 sec.
7.0.2 0.38356 0.63468 0.18782 0.24819 1.45426 sec.
7.0.1 0.43912 0.58987 0.15403 0.23187 1.41489 sec.
5.6.20 1.33252 1.38790 0.47838 0.64878 3.84758 sec.
5.6.19 1.31417 1.38890 0.48787 0.64056 3.83148 sec.
5.6.18 1.28972 1.37004 0.47869 0.65036 3.78881 sec.
5.6.17 1.30855 1.38473 0.51393 0.65670 3.86390 sec.
5.6.2 1.54323 1.64042 0.52561 0.68178 4.39104 sec.
5.5.34 1.34750 1.49521 0.53685 0.76035 4.13991 sec.
5.5.33 1.34561 1.58228 0.47285 0.65104 4.05178 sec.
5.5.32 1.32006 1.51176 0.49770 0.66474 3.99427 sec.
5.5.31 1.25628 1.40533 0.48273 0.60305 3.74739 sec.
5.5.18 1.48914 1.54592 0.47135 0.70459 4.21099 sec.
5.5.5 1.46862 1.58109 0.44905 0.60070 4.09946 sec.
5.5.0.a6 1.48190 1.53422 0.48517 0.67808 4.17938 sec.
5.5.0.a.5 1.53518 1.63770 0.48243 0.65080 4.30610 sec.
5.5.0.a.2 1.40330 1.48234 0.47254 0.62603 3.98422 sec.
5.4.34 1.50990 1.67244 0.53221 0.65817 4.37272 sec.
5.4.21 1.51130 1.54447 0.46432 0.66769 4.18777 sec.
5.4.13 1.46091 1.74197 0.52647 0.68660 4.41595 sec.
5.4.12 1.44151 1.63432 0.48340 0.67237 4.23161 sec.
5.4.11 1.51875 1.70471 0.47742 0.66999 4.37087 sec.
5.4.10 1.39671 1.52691 0.46191 0.65104 4.03657 sec.
5.4.9 1.44808 1.58237 0.47698 0.68443 4.19186 sec.
5.4.8 1.43515 1.65070 0.46372 0.66096 4.21053 sec.
5.4.7 1.47339 1.56285 0.44616 0.66574 4.14814 sec.
5.4.6 1.44225 1.56530 0.46632 0.65935 4.13322 sec.
5.4.5 1.38480 1.54267 0.46660 0.61129 4.00536 sec.
5.4.4 1.62789 1.65168 0.51859 0.68150 4.47965 sec.
5.4.3 2.41848 1.67919 0.49711 0.67302 5.26779 sec.
5.4.2 1.54421 1.62600 0.55342 0.70364 4.42727 sec.
5.4.1 1.51272 1.52965 0.46895 0.70353 4.21485 sec.
5.4.0 1.47743 1.63738 0.46064 0.71157 4.28702 sec.
5.3.29 1.64051 1.79412 0.72630 1.23728 5.39821 sec.
5.3.27 1.56282 1.66869 0.73232 1.20903 5.17286 sec.
5.3.23 1.49522 1.63510 0.69214 1.18529 5.00775 sec.
5.3.22 1.53029 1.69131 0.72354 1.20952 5.15467 sec.
5.3.21 1.94798 1.76668 0.76141 1.09318 5.56925 sec.
5.3.20 1.59182 1.69558 0.71657 1.14362 5.14760 sec.
5.3.19 1.54468 1.78228 0.87481 1.21996 5.42172 sec.
5.3.18 1.70217 2.00085 0.73551 1.26890 5.70743 sec.
5.3.17 1.58518 1.70455 0.72758 1.20194 5.21925 sec.
5.3.16 1.52791 1.72346 0.70779 1.20689 5.16606 sec.
5.3.15 1.47366 1.62000 0.70000 1.12966 4.92332 sec.
5.3.14 1.63813 2.02401 0.79414 1.33175 5.78803 sec.
5.3.13 2.05350 1.80211 0.66801 1.14724 5.67086 sec.
5.3.12 1.78340 1.69876 0.66865 1.17746 5.32827 sec.
5.3.11 1.60531 1.71569 0.68673 1.13864 5.14636 sec.
5.3.10 1.60855 1.81358 0.70584 1.19426 5.32223 sec.
5.3.2 1.66077 1.81119 0.72033 1.21875 5.41104 sec.
5.3.1 1.65546 1.73218 0.73851 1.24004 5.36619 sec.
5.3.0 1.64775 1.83990 0.90792 1.83709 6.23265 sec.
5.2.17 1.66455 1.73265 0.98012 2.15848 6.53579 sec.
5.2.16 1.72529 1.77904 0.97621 2.04408 6.52462 sec.
5.1.6 1.53959 2.17986 0.92299 1.92908 6.57152 sec.
5.1.5 1.43143 2.13208 0.96965 2.28262 6.81578 sec.
5.0.5 2.51979 3.23823 4.35143 6.25897 16.36843 sec.
5.0.4 2.30086 2.96079 4.40296 6.08979 15.75440 sec.
4.4.9 2.51636 3.19286 4.33566 5.40164 15.44652 sec.
 


 


 


Comments

 
 
 
      © 2016 OnlinePHPFunctions.com | Disclaimer |       PHP versions: 7.0.5, 7.0.4, 7.0.3, 7.0.2, 7.0.1, 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