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/2018

<<< Results of 01/08/2018

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.84245 1.09917 0.24912 0.33055 2.52128 sec.
7.0.14 0.49664 0.56679 0.17357 0.21861 1.45561 sec.
7.0.5 0.35821 0.54339 0.15400 0.26144 1.31704 sec.
7.0.4 0.48573 0.58422 0.14798 0.23292 1.45085 sec.
7.0.3 0.37222 0.61481 0.14697 0.23157 1.36557 sec.
7.0.2 0.36365 0.56761 0.21560 0.24210 1.38895 sec.
7.0.1 0.36894 0.54018 0.15944 0.25443 1.32299 sec.
5.6.29 1.22857 1.29550 0.50280 0.65421 3.68108 sec.
5.6.20 1.25718 1.39077 0.45960 0.66357 3.77113 sec.
5.6.19 1.22847 1.38680 0.50714 0.65028 3.77269 sec.
5.6.18 1.20969 1.34099 0.49740 0.59845 3.64653 sec.
5.6.17 1.19426 1.46986 0.45242 0.62344 3.73998 sec.
5.6.2 1.33327 1.48027 0.45634 0.61834 3.88821 sec.
5.5.34 1.21288 1.33207 0.45137 0.62610 3.62242 sec.
5.5.33 1.20315 1.34655 0.44958 0.61214 3.61142 sec.
5.5.32 1.19821 1.36299 0.45721 0.60029 3.61870 sec.
5.5.31 1.24627 1.36855 0.46869 0.60218 3.68569 sec.
5.5.18 1.37534 1.53324 0.48527 0.64125 4.03510 sec.
5.5.5 1.38372 1.55538 0.45200 0.62888 4.01998 sec.
5.5.0.a6 1.39221 1.65619 0.51376 0.66595 4.22812 sec.
5.5.0.a.5 1.36024 1.45286 0.49687 0.61981 3.92979 sec.
5.5.0.a.2 1.42604 1.45868 0.47655 0.66406 4.02534 sec.
5.4.34 1.39597 1.45219 0.52190 0.69452 4.06457 sec.
5.4.21 1.35839 1.47510 0.45472 0.64709 3.93530 sec.
5.4.13 1.34963 1.46378 0.48370 0.69874 3.99585 sec.
5.4.12 1.44727 1.47757 0.49829 0.63405 4.05717 sec.
5.4.11 1.37943 1.47280 0.44746 0.63647 3.93615 sec.
5.4.10 1.41883 1.48848 0.45174 0.64719 4.00623 sec.
5.4.9 1.36115 1.46065 0.45625 0.69094 3.96898 sec.
5.4.8 1.37526 1.43579 0.44978 0.64321 3.90404 sec.
5.4.7 1.36184 1.53423 0.47251 0.64291 4.01149 sec.
5.4.6 1.35031 1.43735 0.46568 0.65121 3.90454 sec.
5.4.5 1.34117 1.51746 0.44829 0.61533 3.92225 sec.
5.4.4 1.32247 1.43332 0.45153 1.02525 4.23258 sec.
5.4.3 2.00875 1.49863 0.46372 0.68037 4.65146 sec.
5.4.2 1.32696 1.44770 0.45113 0.65036 3.87614 sec.
5.4.1 1.34786 1.53613 0.48544 0.62034 3.98977 sec.
5.4.0 1.32173 1.45782 0.44803 0.65657 3.88415 sec.
5.3.29 1.54842 1.57438 0.67795 1.14266 4.94341 sec.
5.3.27 1.43794 1.54202 0.67553 1.14652 4.80202 sec.
5.3.23 1.53868 1.58006 0.70809 1.18249 5.00931 sec.
5.3.22 1.49354 1.54812 0.67974 1.15216 4.87355 sec.
5.3.21 1.45417 1.55788 0.65163 1.06703 4.73070 sec.
5.3.20 1.48170 1.57437 0.65510 1.13600 4.84716 sec.
5.3.19 1.49823 1.56290 0.65658 1.09903 4.81674 sec.
5.3.18 1.45613 1.59445 0.70712 1.12447 4.88217 sec.
5.3.17 1.42115 1.60431 0.69371 1.11096 4.83013 sec.
5.3.16 1.55654 1.54871 0.66915 1.10136 4.87575 sec.
5.3.15 1.54276 1.57987 0.67906 1.14192 4.94361 sec.
5.3.14 1.55282 1.66128 0.67126 1.13413 5.01950 sec.
5.3.13 1.55468 1.61618 0.66354 1.15833 4.99273 sec.
5.3.12 1.51146 1.61639 0.67703 1.04402 4.84890 sec.
5.3.11 1.52034 1.63111 0.68592 1.12276 4.96013 sec.
5.3.10 1.60252 1.61349 0.65518 1.09545 4.96664 sec.
5.3.2 1.54829 1.62198 0.68704 1.09791 4.95521 sec.
5.3.1 1.56690 1.63662 0.65948 1.08830 4.95129 sec.
5.3.0 1.51515 1.65723 0.66152 1.10848 4.94238 sec.
5.2.17 1.55967 1.69440 0.93163 2.10852 6.29422 sec.
5.2.16 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.1.6 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.1.5 0.00000 0.61753 1.06925 2.08029 3.76708 sec.
5.0.5 2.54980 3.11188 4.31948 6.06362 16.04478 sec.
5.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
4.4.9 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
 


 


 


Comments

 
 
 
      © 2018 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