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 11/13/2017

<<< Results of 11/06/2017     |     Results of 11/20/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.75720 0.84862 0.15847 0.24906 2.01335 sec.
7.0.14 0.39768 0.54292 0.17306 0.21800 1.33167 sec.
7.0.5 0.35516 0.56940 0.15530 0.22173 1.30158 sec.
7.0.4 0.36148 0.52721 0.14509 0.21955 1.25333 sec.
7.0.3 0.35427 0.52821 0.14401 0.22194 1.24844 sec.
7.0.2 0.35009 0.52567 0.17475 0.21894 1.26945 sec.
7.0.1 0.36910 0.52817 0.14576 0.22942 1.27244 sec.
5.6.29 1.16457 1.28638 0.45625 0.59643 3.50362 sec.
5.6.20 1.19744 1.29104 0.47151 0.59787 3.55785 sec.
5.6.19 1.19593 1.29428 0.45190 0.60786 3.54997 sec.
5.6.18 1.17065 1.31298 0.45400 0.59847 3.53609 sec.
5.6.17 1.19625 1.30479 0.48574 0.61989 3.60668 sec.
5.6.2 1.35768 1.45997 0.46190 0.60396 3.88351 sec.
5.5.34 1.19958 1.36711 0.47252 0.61446 3.65368 sec.
5.5.33 1.23200 1.54759 0.45288 0.76153 3.99400 sec.
5.5.32 1.35841 1.42577 0.44448 0.59766 3.82633 sec.
5.5.31 1.23302 1.42547 0.46860 0.59593 3.72304 sec.
5.5.18 1.33259 1.50030 0.49353 0.60599 3.93240 sec.
5.5.5 1.37596 1.56733 0.45522 0.59731 3.99582 sec.
5.5.0.a6 1.32823 1.42563 0.46908 0.64917 3.87211 sec.
5.5.0.a.5 1.33621 1.46318 0.48036 0.59875 3.87849 sec.
5.5.0.a.2 1.27672 1.40640 0.45742 0.62599 3.76654 sec.
5.4.34 1.36216 1.46768 0.49576 0.61627 3.94187 sec.
5.4.21 1.35456 1.48531 0.44676 0.64453 3.93116 sec.
5.4.13 1.34826 1.48853 0.45486 0.61167 3.90332 sec.
5.4.12 1.33660 1.49959 0.51407 0.63601 3.98627 sec.
5.4.11 1.32949 1.49066 0.44862 0.64468 3.91346 sec.
5.4.10 1.37022 1.51164 0.45324 0.64099 3.97608 sec.
5.4.9 1.38695 1.52259 0.46138 0.67549 4.04641 sec.
5.4.8 1.32231 1.46762 0.44604 0.64123 3.87721 sec.
5.4.7 1.32581 1.53418 0.53421 0.72124 4.11545 sec.
5.4.6 1.56090 1.53650 0.45331 0.64473 4.19545 sec.
5.4.5 1.32452 1.46919 0.45965 0.62896 3.88232 sec.
5.4.4 1.33980 1.46733 0.44836 0.62398 3.87947 sec.
5.4.3 1.35592 2.41529 0.44793 0.67733 4.89646 sec.
5.4.2 1.40567 1.46123 0.45682 0.63724 3.96096 sec.
5.4.1 1.36199 1.48738 0.45725 0.64922 3.95583 sec.
5.4.0 1.36570 1.52149 0.44836 0.65208 3.98763 sec.
5.3.29 1.47503 1.53434 0.69807 1.12778 4.83522 sec.
5.3.27 1.45925 1.57829 0.67305 1.16792 4.87852 sec.
5.3.23 1.50489 1.56950 0.65212 1.22722 4.95373 sec.
5.3.22 1.47286 1.72120 0.66814 1.28970 5.15190 sec.
5.3.21 1.52608 1.57759 0.65651 1.09525 4.85542 sec.
5.3.20 1.51867 1.68408 0.65111 1.13717 4.99104 sec.
5.3.19 1.47134 1.57009 0.66199 1.11721 4.82063 sec.
5.3.18 1.48225 1.63036 0.69109 1.12305 4.92675 sec.
5.3.17 1.44375 1.55856 0.64840 1.12598 4.77670 sec.
5.3.16 1.41517 1.52847 0.66799 1.15772 4.76935 sec.
5.3.15 1.43853 1.55567 0.65800 1.11468 4.76688 sec.
5.3.14 1.51981 1.73319 0.66753 1.11604 5.03656 sec.
5.3.13 1.54792 1.62855 0.67692 1.11128 4.96466 sec.
5.3.12 1.50061 1.60197 0.65564 1.03302 4.79124 sec.
5.3.11 1.53819 1.62287 0.67390 1.14963 4.98460 sec.
5.3.10 1.48354 1.60652 0.65446 1.10901 4.85353 sec.
5.3.2 0.30580 0.00000 0.00000 0.00000 0.30580 sec.
5.3.1 1.54205 1.64559 0.68059 1.11853 4.98675 sec.
5.3.0 1.60804 1.81271 0.70697 1.12558 5.25330 sec.
5.2.17 1.53217 1.67392 0.94780 2.07291 6.22680 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.63587 0.95630 2.18938 3.78155 sec.
5.0.5 2.41704 3.04650 4.27231 6.00296 15.73881 sec.
5.0.4 2.21761 2.85756 4.30979 5.81212 15.19708 sec.
4.4.9 2.14885 2.76071 4.13350 5.57553 14.61859 sec.
 


 


 


Comments

 
 
 
      © 2018 OnlinePHPFunctions.com | Disclaimer |       PHP versions: 7.2.4, 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