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

<<< Results of 09/19/2016

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.0.5 0.94600 1.23194 0.31623 0.25061 2.74478 sec.
7.0.4 0.52945 0.81928 0.24596 0.31359 1.90828 sec.
7.0.3 0.43105 0.66633 0.14831 0.26827 1.51397 sec.
7.0.2 0.43758 0.64144 0.21599 0.27259 1.56760 sec.
7.0.1 0.44932 0.64240 0.22948 0.28591 1.60711 sec.
5.6.20 1.61269 1.62335 0.48695 0.63517 4.35816 sec.
5.6.19 1.37118 1.57640 0.56240 0.76111 4.27108 sec.
5.6.18 1.40804 1.68283 0.49639 0.66102 4.24828 sec.
5.6.17 1.48997 1.50784 0.50994 0.64967 4.15742 sec.
5.6.2 1.48849 1.56110 0.50720 0.65721 4.21401 sec.
5.5.34 1.36948 1.60687 0.50985 0.71728 4.20348 sec.
5.5.33 1.32229 1.55859 0.53229 0.68401 4.09718 sec.
5.5.32 1.37806 1.51232 0.48279 0.66804 4.04122 sec.
5.5.31 1.33423 1.50160 0.47792 0.65513 3.96888 sec.
5.5.18 1.51069 1.74017 0.50388 0.69279 4.44754 sec.
5.5.5 1.68947 1.65163 0.49906 0.63867 4.47883 sec.
5.5.0.a6 1.50463 1.93378 0.51518 0.68252 4.63611 sec.
5.5.0.a.5 1.69903 1.78933 0.53117 0.77930 4.79883 sec.
5.5.0.a.2 1.71600 1.77569 0.59801 0.72542 4.81512 sec.
5.4.34 1.62299 1.75417 0.52405 0.67135 4.57256 sec.
5.4.21 1.63819 1.73601 0.51571 0.71734 4.60724 sec.
5.4.13 1.59230 1.67242 0.52202 0.81008 4.59680 sec.
5.4.12 1.61244 1.68291 0.51692 0.68145 4.49372 sec.
5.4.11 1.47202 1.68051 0.50203 0.71264 4.36720 sec.
5.4.10 1.55374 1.66215 0.52955 0.76319 4.50862 sec.
5.4.9 1.64029 1.72955 0.50686 0.83225 4.70894 sec.
5.4.8 1.73375 1.87826 0.54370 0.78976 4.94548 sec.
5.4.7 1.64563 1.80163 0.48617 0.70023 4.63365 sec.
5.4.6 1.64355 1.77796 0.56144 1.34265 5.32560 sec.
5.4.5 2.15105 1.68343 0.50506 0.70735 5.04689 sec.
5.4.4 1.62084 1.96917 0.52706 0.74280 4.85988 sec.
5.4.3 1.51180 1.87177 0.61053 0.79052 4.78462 sec.
5.4.2 1.51733 1.64065 0.50089 0.67705 4.33592 sec.
5.4.1 1.51857 1.67405 0.52768 0.68645 4.40675 sec.
5.4.0 1.54688 1.60184 0.57058 0.72001 4.43931 sec.
5.3.29 1.68822 1.82524 0.81236 1.37979 5.70561 sec.
5.3.27 1.81763 1.70626 0.75981 1.24319 5.52689 sec.
5.3.23 1.88706 1.85199 0.71563 1.26664 5.72131 sec.
5.3.22 1.60475 1.70882 0.74016 1.27394 5.32767 sec.
5.3.21 1.66009 1.87700 0.75332 1.17933 5.46974 sec.
5.3.20 1.77065 1.96428 0.81668 1.28967 5.84128 sec.
5.3.19 1.76606 2.00855 0.72527 1.19269 5.69256 sec.
5.3.18 1.71156 1.85508 0.74654 1.25028 5.56345 sec.
5.3.17 1.95260 1.89877 0.78537 1.19135 5.82808 sec.
5.3.16 1.66286 1.99534 0.74236 1.23463 5.63519 sec.
5.3.15 1.61910 1.90150 0.79694 1.31051 5.62806 sec.
5.3.14 1.81922 1.87353 0.85092 1.32720 5.87087 sec.
5.3.13 1.85682 1.96104 0.82025 1.20842 5.84653 sec.
5.3.12 1.80016 1.88751 0.71729 1.27304 5.67799 sec.
5.3.11 1.79765 1.81699 0.74154 1.24799 5.60417 sec.
5.3.10 1.70686 2.29766 1.48779 1.41249 6.90480 sec.
5.3.2 1.82399 1.86728 0.79921 1.26858 5.75906 sec.
5.3.1 1.67043 1.82239 0.72423 1.20560 5.42265 sec.
5.3.0 1.72485 1.76702 0.77302 1.22238 5.48726 sec.
5.2.17 2.10823 1.86345 1.05146 2.29997 7.32311 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.69028 1.06476 2.24412 3.99916 sec.
5.0.5 2.60306 3.44041 4.68422 6.46533 17.19302 sec.
5.0.4 2.39220 3.10554 1.81039 0.00000 7.30812 sec.
4.4.9 2.39809 3.00081 4.50684 5.80980 15.71555 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