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 02/09/2016

<<< Results of 02/01/2016

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.0.3 0.78235 1.05591 0.22126 0.23142 2.29094 sec.
7.0.2 0.41971 0.61214 0.18126 0.27824 1.49135 sec.
7.0.1 0.40704 0.56409 0.17508 0.24262 1.38883 sec.
5.6.18 1.35897 1.34502 0.47644 0.62314 3.80357 sec.
5.6.17 1.29906 1.38117 0.51035 0.70455 3.89513 sec.
5.6.2 1.40809 1.64381 0.48180 0.67631 4.21001 sec.
5.5.32 1.48238 1.57237 0.58700 0.68064 4.32240 sec.
5.5.31 1.36120 1.55135 0.51985 0.69734 4.12975 sec.
5.5.18 1.54317 1.60909 0.49957 0.65085 4.30268 sec.
5.5.5 1.39551 1.63086 0.51834 0.63619 4.18089 sec.
5.5.0.a6 1.46437 1.52247 0.48523 0.68248 4.15455 sec.
5.5.0.a.5 1.42041 1.57042 0.52962 0.65142 4.17186 sec.
5.5.0.a.2 1.37736 1.50367 0.47316 0.69335 4.04754 sec.
5.4.34 1.38147 1.59396 0.47529 0.64377 4.09449 sec.
5.4.21 1.43531 1.59033 0.48946 0.65364 4.16875 sec.
5.4.13 1.49291 1.59877 0.46719 0.65634 4.21520 sec.
5.4.12 1.40424 1.55226 0.48784 0.66567 4.11001 sec.
5.4.11 1.43639 1.52633 0.47890 0.67978 4.12141 sec.
5.4.10 1.40336 1.56194 0.47179 0.67459 4.11167 sec.
5.4.9 1.46318 1.53365 0.49773 0.65785 4.15242 sec.
5.4.8 1.48656 1.57709 0.46769 0.75579 4.28713 sec.
5.4.7 1.43448 1.59814 0.46893 0.74431 4.24586 sec.
5.4.6 1.41901 1.65853 0.59095 0.81270 4.48118 sec.
5.4.5 1.41219 1.60145 0.49030 0.69123 4.19517 sec.
5.4.4 1.43176 1.58044 0.55283 0.83594 4.40098 sec.
5.4.3 1.44751 1.61602 0.49419 0.67421 4.23193 sec.
5.4.2 1.55348 1.59751 0.51560 0.66421 4.33081 sec.
5.4.1 1.44347 1.60387 0.47079 0.66789 4.18602 sec.
5.4.0 1.46992 1.59846 0.49743 0.68476 4.25057 sec.
5.3.29 1.67509 2.34282 1.11979 1.29423 6.43193 sec.
5.3.27 1.65254 1.80452 0.82729 1.27235 5.55670 sec.
5.3.23 1.54485 1.68125 0.75201 1.33606 5.31417 sec.
5.3.22 1.69303 1.64111 0.70850 1.24829 5.29093 sec.
5.3.21 1.51786 1.72207 0.74794 1.17906 5.16693 sec.
5.3.20 1.62691 1.69830 0.70430 1.13212 5.16163 sec.
5.3.19 1.59631 1.73327 0.71092 1.13690 5.17741 sec.
5.3.18 1.61321 1.71875 0.69881 1.13050 5.16128 sec.
5.3.17 1.60897 1.66851 0.69330 1.21035 5.18113 sec.
5.3.16 1.54401 1.67023 0.74524 1.24291 5.20239 sec.
5.3.15 1.50440 1.67243 0.76139 1.13455 5.07277 sec.
5.3.14 1.78542 1.96778 0.68867 1.20307 5.64495 sec.
5.3.13 1.84234 1.93056 0.70912 1.16551 5.64753 sec.
5.3.12 1.75647 1.91452 0.72821 1.22786 5.62707 sec.
5.3.11 1.88541 1.91648 0.73602 1.20475 5.74266 sec.
5.3.10 1.81064 1.92931 0.70743 1.19435 5.64173 sec.
5.3.2 1.71885 1.83945 0.71611 1.21557 5.48999 sec.
5.3.1 1.69551 1.72011 0.70162 1.17129 5.28853 sec.
5.3.0 1.76783 1.90239 0.74428 1.05919 5.47368 sec.
5.2.17 1.85343 2.06626 1.04638 2.22205 7.18811 sec.
5.2.16 1.74243 1.80666 1.05306 1.80089 6.40303 sec.
5.1.6 1.78605 3.38384 1.08277 2.03171 8.28437 sec.
5.1.5 1.50176 2.23842 1.02794 2.11785 6.88597 sec.
5.0.5 2.68243 3.35961 4.55856 6.41808 17.01868 sec.
5.0.4 2.33240 3.06503 4.58283 6.26290 16.24316 sec.
4.4.9 2.77283 3.40458 4.62401 5.77456 16.57599 sec.
 


 


 


Comments

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