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 01/20/2017

<<< Results of 01/09/2017

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 1.08389 1.12098 0.23822 0.25811 2.70120 sec.
7.0.14 0.38005 0.63174 0.18798 0.26661 1.46638 sec.
7.0.5 0.50889 0.76286 0.20621 0.25237 1.73034 sec.
7.0.4 0.40084 0.59582 0.20078 0.27784 1.47528 sec.
7.0.3 0.40722 0.58594 0.16666 0.27866 1.43847 sec.
7.0.2 0.47823 0.57339 0.24871 0.26490 1.56523 sec.
7.0.1 0.52834 0.72355 0.19051 0.23928 1.68168 sec.
5.6.29 1.43666 1.70195 0.54992 0.66251 4.35104 sec.
5.6.20 1.22603 1.53913 0.56278 0.63610 3.96403 sec.
5.6.19 1.36655 1.54052 0.49494 0.68500 4.08701 sec.
5.6.18 1.43652 1.43758 0.49847 0.70908 4.08166 sec.
5.6.17 1.33480 1.44034 0.57024 0.76233 4.10770 sec.
5.6.2 1.38827 1.53429 0.47475 0.62721 4.02451 sec.
5.5.34 1.33954 1.43420 0.46747 0.64466 3.88587 sec.
5.5.33 1.22882 1.73168 0.58050 0.66122 4.20222 sec.
5.5.32 1.23005 1.39327 0.47088 0.64747 3.74167 sec.
5.5.31 1.44096 1.42275 0.46773 0.63308 3.96453 sec.
5.5.18 1.48306 1.61011 0.55120 0.73005 4.37443 sec.
5.5.5 1.90089 1.59308 0.50012 0.67580 4.66988 sec.
5.5.0.a6 1.40073 1.54959 0.53795 0.70838 4.19665 sec.
5.5.0.a.5 1.51143 1.64039 0.55430 0.67313 4.37925 sec.
5.5.0.a.2 1.48580 1.49636 0.48012 0.63623 4.09851 sec.
5.4.34 1.35492 1.54854 0.50782 0.68365 4.09493 sec.
5.4.21 1.45474 1.90743 0.48224 0.67274 4.51715 sec.
5.4.13 1.61562 1.71367 0.58654 0.76398 4.67981 sec.
5.4.12 1.67452 1.64754 0.61114 0.93232 4.86552 sec.
5.4.11 1.53735 1.64573 0.56210 0.71428 4.45946 sec.
5.4.10 1.47598 1.58963 0.57431 0.73851 4.37843 sec.
5.4.9 1.47666 1.68221 0.58131 0.81388 4.55406 sec.
5.4.8 1.42752 1.67981 0.46791 0.66500 4.24023 sec.
5.4.7 1.39808 1.63754 0.47125 0.71456 4.22143 sec.
5.4.6 1.98827 2.87636 0.49184 0.71459 6.07105 sec.
5.4.5 1.73454 1.72142 0.51038 0.79991 4.76624 sec.
5.4.4 1.60367 1.79483 0.49132 0.75843 4.64825 sec.
5.4.3 1.44407 1.88449 0.50875 0.83015 4.66746 sec.
5.4.2 1.45783 1.68723 0.58191 0.69982 4.42679 sec.
5.4.1 1.48036 1.61380 0.45742 0.66460 4.21619 sec.
5.4.0 1.51541 1.71613 0.51087 0.69509 4.43750 sec.
5.3.29 1.58594 1.85472 0.84723 1.28976 5.57766 sec.
5.3.27 1.55404 1.82261 0.78186 1.23432 5.39283 sec.
5.3.23 1.58016 1.73038 0.77192 1.23195 5.31441 sec.
5.3.22 1.55739 1.85125 0.82075 1.32781 5.55719 sec.
5.3.21 1.63220 1.78665 0.68535 1.25161 5.35580 sec.
5.3.20 1.79320 1.68538 0.73631 1.22154 5.43643 sec.
5.3.19 1.60651 1.73000 0.71379 1.17017 5.22047 sec.
5.3.18 1.58526 1.67427 0.74362 1.12907 5.13222 sec.
5.3.17 1.55001 1.82291 0.70839 1.24836 5.32968 sec.
5.3.16 1.75329 1.76457 0.71420 1.17651 5.40857 sec.
5.3.15 1.54178 1.92193 0.77489 1.24458 5.48317 sec.
5.3.14 1.77857 1.82989 0.80466 1.20849 5.62160 sec.
5.3.13 1.71441 2.08622 0.72100 1.17883 5.70046 sec.
5.3.12 1.69615 1.79251 0.82881 1.36212 5.67958 sec.
5.3.11 1.73535 1.87384 0.70283 1.22530 5.53731 sec.
5.3.10 1.76025 1.74714 1.33075 1.70398 6.54212 sec.
5.3.2 1.72837 1.88430 0.75187 1.20221 5.56675 sec.
5.3.1 1.72923 1.90239 0.14781 0.00000 3.77943 sec.
5.3.0 2.02049 2.38985 0.81508 1.27743 6.50284 sec.
5.2.17 1.89786 2.01449 1.08213 2.41608 7.41056 sec.
5.2.16 1.74831 1.87026 1.13119 2.16372 6.91348 sec.
5.1.6 1.68190 2.59908 0.94836 2.10199 7.33132 sec.
5.1.5 1.50978 2.41268 1.06796 2.20538 7.19580 sec.
5.0.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
4.4.9 0.00000 0.00000 4.92234 5.53354 10.45587 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