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 08/24/2016

<<< Results of 08/15/2016

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.0.5 0.81568 0.56620 0.14900 0.26023 1.79110 sec.
7.0.4 0.39360 0.56235 0.15111 0.22805 1.33510 sec.
7.0.3 0.38453 0.57159 0.16151 0.23993 1.35756 sec.
7.0.2 0.37735 0.60185 0.17133 0.21796 1.36848 sec.
7.0.1 0.36731 0.54977 0.15164 0.22645 1.29516 sec.
5.6.20 1.21770 1.33879 0.46887 0.62220 3.64756 sec.
5.6.19 1.21116 1.40538 0.48486 0.61932 3.72072 sec.
5.6.18 1.20035 1.33491 0.46909 0.62497 3.62933 sec.
5.6.17 1.22420 1.35935 0.46459 0.62815 3.67629 sec.
5.6.2 1.47094 1.53254 0.46726 0.65949 4.13023 sec.
5.5.34 1.26771 1.51388 0.46652 0.62284 3.87096 sec.
5.5.33 1.25280 1.50012 0.46544 0.62417 3.84253 sec.
5.5.32 1.24443 1.37526 0.46525 0.62303 3.70797 sec.
5.5.31 1.23643 1.41998 0.47855 0.62777 3.76274 sec.
5.5.18 1.39778 1.57324 0.54881 0.68061 4.20045 sec.
5.5.5 1.42173 1.52977 0.47533 0.61918 4.04602 sec.
5.5.0.a6 1.38123 1.49397 0.50054 0.64069 4.01642 sec.
5.5.0.a.5 1.40576 1.55897 0.47562 0.62663 4.06698 sec.
5.5.0.a.2 1.45468 1.61736 0.48824 0.62818 4.18847 sec.
5.4.34 1.62001 1.59870 0.51703 0.77218 4.50793 sec.
5.4.21 1.43747 1.69945 0.46961 0.62880 4.23533 sec.
5.4.13 1.47015 1.55251 0.46185 0.65009 4.13459 sec.
5.4.12 1.42202 1.55274 0.49189 0.65039 4.11704 sec.
5.4.11 1.36502 1.53474 0.46964 0.66171 4.03111 sec.
5.4.10 1.38778 1.54807 0.46606 0.77756 4.17946 sec.
5.4.9 1.44135 1.57929 0.47445 0.66497 4.16006 sec.
5.4.8 1.43872 1.48947 0.50483 0.65883 4.09185 sec.
5.4.7 1.36680 1.56335 0.49523 0.72865 4.15403 sec.
5.4.6 1.43018 1.56108 0.49873 0.70697 4.19696 sec.
5.4.5 1.41697 1.61829 0.46958 0.68309 4.18793 sec.
5.4.4 1.41522 1.55271 0.47069 0.65943 4.09805 sec.
5.4.3 1.56905 1.54848 0.48552 0.65630 4.25935 sec.
5.4.2 2.74742 1.80406 0.53998 0.76883 5.86028 sec.
5.4.1 1.42561 1.65948 0.48087 0.66439 4.23035 sec.
5.4.0 1.46057 1.57099 0.46418 0.64211 4.13784 sec.
5.3.29 1.57586 1.64205 0.72300 1.26982 5.21074 sec.
5.3.27 1.60323 1.64920 0.72678 1.18200 5.16122 sec.
5.3.23 1.45972 1.69229 0.69956 1.18618 5.03775 sec.
5.3.22 1.48476 1.64445 0.66111 1.20990 5.00022 sec.
5.3.21 1.65445 1.68113 0.68028 1.14518 5.16105 sec.
5.3.20 1.62297 1.64173 0.72890 1.12301 5.11661 sec.
5.3.19 1.50692 1.62894 0.68383 1.14452 4.96421 sec.
5.3.18 1.53884 1.70529 0.85880 1.22622 5.32914 sec.
5.3.17 1.50955 1.70327 0.71225 1.15381 5.07888 sec.
5.3.16 1.51425 1.65557 0.74074 1.13978 5.05033 sec.
5.3.15 1.54680 1.66983 0.68936 1.09304 4.99904 sec.
5.3.14 1.56614 1.65601 0.68897 1.17985 5.09097 sec.
5.3.13 1.61015 1.68935 0.70178 1.15583 5.15712 sec.
5.3.12 1.53380 1.65648 0.68850 1.11766 4.99644 sec.
5.3.11 1.53229 1.65911 0.71325 1.20955 5.11420 sec.
5.3.10 1.56258 1.66289 0.66697 1.14815 5.04060 sec.
5.3.2 1.60328 1.70074 0.67530 1.14686 5.12619 sec.
5.3.1 1.57463 1.68983 0.69439 1.15371 5.11255 sec.
5.3.0 1.63548 1.70529 0.65101 1.09991 5.09170 sec.
5.2.17 1.68539 1.73197 1.02403 3.01346 7.45486 sec.
5.2.16 1.80006 1.76135 1.00292 2.10636 6.67070 sec.
5.1.6 1.50084 2.24691 0.95197 2.08711 6.78683 sec.
5.1.5 1.59002 2.22445 1.00197 2.18498 7.00141 sec.
5.0.5 2.55604 3.13598 4.39019 6.25320 16.33540 sec.
5.0.4 2.30451 3.06554 4.58130 6.02416 15.97551 sec.
4.4.9 2.24051 2.99012 4.30150 5.55276 15.08490 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