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/25/2016

<<< Results of 07/18/2016

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.0.5 0.80397 1.07107 0.25191 0.28992 2.41687 sec.
7.0.4 0.41720 0.55535 0.17652 0.22970 1.37878 sec.
7.0.3 0.42010 0.55957 0.14372 0.26754 1.39093 sec.
7.0.2 0.39002 0.57370 0.18303 0.27082 1.41757 sec.
7.0.1 0.40669 0.55439 0.15116 0.24959 1.36183 sec.
5.6.20 1.25492 1.40506 0.46744 0.67080 3.79822 sec.
5.6.19 1.54472 1.62395 0.49090 0.71095 4.37053 sec.
5.6.18 1.34914 1.48599 0.50865 0.65042 3.99420 sec.
5.6.17 1.34161 1.43911 0.48032 0.71037 3.97142 sec.
5.6.2 1.48894 1.54057 0.55779 0.75261 4.33991 sec.
5.5.34 1.46408 1.34699 0.48492 0.63115 3.92714 sec.
5.5.33 1.21760 1.43084 0.49548 0.61374 3.75765 sec.
5.5.32 1.26872 1.36626 0.45818 0.61881 3.71197 sec.
5.5.31 1.28826 1.39828 0.46597 0.67012 3.82262 sec.
5.5.18 1.46751 1.52801 0.54347 0.69357 4.23256 sec.
5.5.5 1.38749 1.57581 0.53225 0.66421 4.15976 sec.
5.5.0.a6 1.46338 1.47357 0.51994 0.64259 4.09947 sec.
5.5.0.a.5 1.54981 1.77133 0.57564 0.69858 4.59536 sec.
5.5.0.a.2 1.61166 1.72762 0.51396 0.67413 4.52737 sec.
5.4.34 1.43261 1.65104 0.55719 0.69491 4.33576 sec.
5.4.21 1.65018 1.62060 0.47015 0.63694 4.37787 sec.
5.4.13 1.59551 1.68074 0.46497 0.65959 4.40081 sec.
5.4.12 1.47473 1.63254 0.46236 0.70513 4.27475 sec.
5.4.11 1.61235 1.54150 0.46108 0.63404 4.24898 sec.
5.4.10 1.53475 1.66596 0.47382 0.66227 4.33679 sec.
5.4.9 1.52233 1.55949 0.50677 0.69043 4.27902 sec.
5.4.8 1.40810 1.53237 0.47865 0.79481 4.21392 sec.
5.4.7 1.41698 1.54568 0.45463 0.68927 4.10656 sec.
5.4.6 1.51844 1.56815 0.49890 0.64594 4.23144 sec.
5.4.5 1.38156 1.52247 0.45482 0.69172 4.05056 sec.
5.4.4 1.42514 1.57035 0.46832 0.65258 4.11639 sec.
5.4.3 2.49038 1.59624 0.47425 0.64065 5.20151 sec.
5.4.2 1.41438 1.66035 0.49511 0.64738 4.21723 sec.
5.4.1 1.38021 1.55840 0.47536 0.62390 4.03787 sec.
5.4.0 1.38386 1.48975 0.47598 0.65326 4.00284 sec.
5.3.29 1.48444 1.60590 0.70838 1.26781 5.06653 sec.
5.3.27 1.52752 1.72870 0.70450 1.16650 5.12722 sec.
5.3.23 1.61785 1.66676 0.77260 1.18256 5.23977 sec.
5.3.22 1.59851 1.82157 0.77391 1.25251 5.44650 sec.
5.3.21 1.54120 1.84044 0.78322 1.13436 5.29922 sec.
5.3.20 1.62940 1.73710 0.72808 1.13792 5.23249 sec.
5.3.19 1.61721 1.64591 0.72883 1.18370 5.17565 sec.
5.3.18 1.54752 1.68304 0.70740 1.17222 5.11018 sec.
5.3.17 1.53764 1.62598 0.71330 1.14091 5.01782 sec.
5.3.16 1.69072 1.57600 0.72111 1.20690 5.19473 sec.
5.3.15 1.51773 1.73111 0.74274 1.13421 5.12580 sec.
5.3.14 1.78790 1.67876 0.72772 1.14678 5.34115 sec.
5.3.13 1.63607 1.71362 0.72481 1.20596 5.28045 sec.
5.3.12 1.65187 1.80734 0.69873 1.18677 5.34470 sec.
5.3.11 1.74186 1.74611 0.71935 1.19304 5.40036 sec.
5.3.10 1.74792 1.77414 0.68540 1.17394 5.38140 sec.
5.3.2 1.60066 1.77064 0.71701 1.13751 5.22581 sec.
5.3.1 1.58559 1.71931 0.71032 1.14467 5.15990 sec.
5.3.0 1.66024 1.75496 0.66877 1.12079 5.20476 sec.
5.2.17 2.63094 1.84489 1.00605 2.23374 7.71561 sec.
5.2.16 1.68327 1.98418 0.98893 2.15441 6.81079 sec.
5.1.6 1.49632 2.11590 0.98191 2.06219 6.65632 sec.
5.1.5 1.73822 2.38223 1.00450 2.20736 7.33231 sec.
5.0.5 2.83842 3.53768 4.69138 6.48275 17.55022 sec.
5.0.4 2.32293 3.15049 4.49849 6.01444 15.98634 sec.
4.4.9 2.24415 3.41338 4.54370 6.31689 16.51812 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