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 09/24/2017

<<< Results of 09/11/2017

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.80253 0.99061 0.24740 0.30678 2.34732 sec.
7.0.14 0.42724 0.56283 0.18149 0.22506 1.39662 sec.
7.0.5 0.35732 0.54094 0.14703 0.22269 1.26797 sec.
7.0.4 0.36440 0.53320 0.14900 0.22000 1.26660 sec.
7.0.3 0.34362 0.52336 0.14529 0.23354 1.24580 sec.
7.0.2 0.34638 0.52871 0.19574 0.21873 1.28956 sec.
7.0.1 0.38660 0.56327 0.14511 0.21840 1.31338 sec.
5.6.29 1.18952 1.30490 0.46181 0.60648 3.56271 sec.
5.6.20 1.25537 1.27729 0.44919 0.63089 3.61274 sec.
5.6.19 1.18330 1.28572 0.46034 0.60047 3.52983 sec.
5.6.18 1.19273 1.33130 0.45294 0.59848 3.57546 sec.
5.6.17 1.24025 1.34070 0.46194 0.63618 3.67908 sec.
5.6.2 1.33868 1.50926 0.46509 0.60318 3.91621 sec.
5.5.34 1.19949 1.32990 0.45511 0.61396 3.59846 sec.
5.5.33 1.21750 1.35895 0.46551 0.61349 3.65545 sec.
5.5.32 1.23314 1.35940 0.45648 0.61547 3.66448 sec.
5.5.31 1.22769 1.30828 0.46373 0.59871 3.59841 sec.
5.5.18 1.34042 1.44813 0.45970 0.62194 3.87020 sec.
5.5.5 1.32737 1.44092 0.45090 0.59892 3.81811 sec.
5.5.0.a6 1.32231 1.45538 0.46622 0.65303 3.89694 sec.
5.5.0.a.5 1.36914 1.49331 0.47991 0.60874 3.95110 sec.
5.5.0.a.2 1.29674 1.40139 0.45549 0.61095 3.76457 sec.
5.4.34 1.36897 1.51833 0.44753 0.61266 3.94749 sec.
5.4.21 1.34783 1.48636 0.48444 0.64757 3.96620 sec.
5.4.13 1.38813 1.46083 0.46887 0.62411 3.94194 sec.
5.4.12 1.46052 1.46708 0.50163 0.62460 4.05383 sec.
5.4.11 1.35655 1.45285 0.45233 0.64284 3.90457 sec.
5.4.10 1.35285 1.50604 0.45224 0.63668 3.94781 sec.
5.4.9 1.38709 1.48075 0.45429 0.67934 4.00147 sec.
5.4.8 1.36976 1.48152 0.45407 0.64290 3.94826 sec.
5.4.7 1.42529 1.44891 0.47660 0.64989 4.00069 sec.
5.4.6 1.34678 1.44444 0.45838 0.63365 3.88324 sec.
5.4.5 1.35766 1.43761 0.44601 0.66177 3.90305 sec.
5.4.4 1.36045 1.45469 0.44988 0.67235 3.93738 sec.
5.4.3 1.41533 2.39211 0.51972 0.67639 5.00355 sec.
5.4.2 1.35885 1.44527 0.45127 0.61704 3.87244 sec.
5.4.1 1.32070 1.46654 0.47276 0.62218 3.88218 sec.
5.4.0 1.32755 1.47818 0.48126 0.66602 3.95302 sec.
5.3.29 1.44568 1.61891 0.68226 1.12967 4.87652 sec.
5.3.27 1.43718 1.55475 0.67309 1.16457 4.82959 sec.
5.3.23 1.46189 1.63501 0.68225 1.15687 4.93602 sec.
5.3.22 1.43857 1.53817 0.67063 1.16379 4.81117 sec.
5.3.21 1.48116 1.56670 0.65215 1.08319 4.78319 sec.
5.3.20 1.50667 1.56262 0.65777 1.12548 4.85256 sec.
5.3.19 1.47398 1.66031 0.65846 1.11656 4.90930 sec.
5.3.18 1.47548 1.60002 0.68306 1.08462 4.84317 sec.
5.3.17 1.42232 1.54238 0.65448 1.11150 4.73067 sec.
5.3.16 1.44641 1.52277 0.66235 1.12199 4.75353 sec.
5.3.15 1.45863 1.58460 0.67857 1.12242 4.84423 sec.
5.3.14 1.54003 1.64424 0.65687 1.12245 4.96359 sec.
5.3.13 1.56496 1.62007 0.67361 1.11701 4.97565 sec.
5.3.12 1.52120 1.59951 0.67233 1.03039 4.82343 sec.
5.3.11 1.53114 1.62564 0.66866 1.11697 4.94241 sec.
5.3.10 1.52102 1.61060 0.65879 1.08810 4.87851 sec.
5.3.2 1.53510 1.63264 0.66621 1.18268 5.01663 sec.
5.3.1 1.62614 1.68087 0.67190 1.14826 5.12717 sec.
5.3.0 1.59684 1.67805 0.64867 1.12615 5.04971 sec.
5.2.17 1.55470 1.66995 0.92929 2.06816 6.22210 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.21983 0.99310 2.18314 3.39607 sec.
5.0.5 2.45288 1.24953 0.00000 0.00000 3.70242 sec.
5.0.4 2.21571 2.85371 4.34782 5.95704 15.37428 sec.
4.4.9 2.21577 2.82223 4.19624 5.39692 14.63116 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