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 10/02/2017

<<< Results of 09/25/2017     |     Results of 10/09/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.80112 1.09313 0.27683 0.33943 2.51051 sec.
7.0.14 0.37025 0.62965 0.17771 0.24819 1.42580 sec.
7.0.5 0.37009 0.57752 0.14846 0.23027 1.32633 sec.
7.0.4 0.40526 0.60396 0.15466 0.22496 1.38884 sec.
7.0.3 0.36865 0.55708 0.15074 0.23139 1.30785 sec.
7.0.2 0.36091 0.53954 0.19004 0.24065 1.33114 sec.
7.0.1 0.40198 0.56588 0.15874 0.23556 1.36215 sec.
5.6.29 1.26504 1.38464 0.49392 0.60233 3.74593 sec.
5.6.20 1.24115 1.33662 0.50208 0.61256 3.69241 sec.
5.6.19 1.19031 1.31895 0.46511 0.60413 3.57849 sec.
5.6.18 1.22305 1.45933 0.46661 0.61657 3.76555 sec.
5.6.17 1.26889 1.38399 0.48305 0.61164 3.74757 sec.
5.6.2 1.36473 1.54407 0.49026 0.68526 4.08432 sec.
5.5.34 1.38978 1.50489 0.50242 0.68230 4.07939 sec.
5.5.33 1.29132 1.39108 0.49457 0.65042 3.82738 sec.
5.5.32 1.25370 1.40276 0.47833 0.63086 3.76566 sec.
5.5.31 1.36059 1.42030 0.49456 0.60001 3.87546 sec.
5.5.18 1.36366 1.56743 0.47439 0.63812 4.04360 sec.
5.5.5 1.46072 1.61309 0.46819 0.67170 4.21371 sec.
5.5.0.a6 1.45159 1.60049 0.52321 0.67670 4.25199 sec.
5.5.0.a.5 1.45664 1.61370 0.48166 0.63120 4.18322 sec.
5.5.0.a.2 1.44097 1.43357 0.47284 0.63493 3.98232 sec.
5.4.34 1.47559 1.59537 0.45452 0.66214 4.18762 sec.
5.4.21 1.44442 1.61094 0.46383 0.66003 4.17922 sec.
5.4.13 1.45860 1.55297 0.46814 0.65626 4.13597 sec.
5.4.12 1.40120 1.59054 0.51610 0.65757 4.16542 sec.
5.4.11 1.36862 1.50547 0.45882 0.64797 3.98088 sec.
5.4.10 1.46902 1.67753 0.49791 0.70328 4.34774 sec.
5.4.9 1.48955 1.65117 0.51455 0.74883 4.40410 sec.
5.4.8 1.42831 1.60245 0.47102 0.68414 4.18593 sec.
5.4.7 1.47500 1.66891 0.50405 0.67427 4.32223 sec.
5.4.6 1.57024 1.53578 0.46732 0.69241 4.26575 sec.
5.4.5 1.39785 1.68777 0.49883 0.76317 4.34761 sec.
5.4.4 2.58077 1.61100 0.47625 0.66170 5.32972 sec.
5.4.3 1.49066 1.52006 0.46570 0.69122 4.16764 sec.
5.4.2 1.50500 1.57208 0.45187 0.65590 4.18486 sec.
5.4.1 1.38859 1.54208 0.47053 0.62839 4.02960 sec.
5.4.0 1.38821 1.53830 0.46957 0.67902 4.07510 sec.
5.3.29 1.57973 1.67155 0.69881 1.18485 5.13494 sec.
5.3.27 1.53608 1.61432 0.68104 1.19255 5.02399 sec.
5.3.23 1.57463 1.58966 0.68983 1.22493 5.07905 sec.
5.3.22 1.52942 1.66563 0.73240 1.22206 5.14951 sec.
5.3.21 1.68463 1.71936 0.66658 1.10953 5.18011 sec.
5.3.20 1.69467 1.80356 0.68142 1.13938 5.31903 sec.
5.3.19 1.52896 1.77647 0.70643 1.21426 5.22613 sec.
5.3.18 1.58234 1.69773 0.71003 1.14556 5.13566 sec.
5.3.17 1.45960 1.64733 0.66649 1.18398 4.95740 sec.
5.3.16 1.44842 1.57124 0.69896 1.14576 4.86437 sec.
5.3.15 1.52163 1.69750 0.69484 1.14339 5.05736 sec.
5.3.14 1.62084 1.66483 0.67679 1.16687 5.12933 sec.
5.3.13 1.61489 1.84520 0.70182 1.17907 5.34098 sec.
5.3.12 1.60704 1.67546 0.69363 1.10025 5.07637 sec.
5.3.11 1.53767 1.71921 0.74672 1.16415 5.16776 sec.
5.3.10 1.64995 1.80177 0.73006 1.20806 5.38983 sec.
5.3.2 1.63427 1.80716 0.71322 1.18400 5.33864 sec.
5.3.1 1.80942 1.83087 1.01930 1.99920 6.65878 sec.
5.3.0 1.68188 1.83183 0.74703 1.17398 5.43471 sec.
5.2.17 1.65951 1.81458 0.94061 2.22025 6.63495 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.87790 1.00621 2.26673 4.15085 sec.
5.0.5 2.53885 3.27091 4.52601 6.50023 16.83600 sec.
5.0.4 2.33280 3.12048 4.55544 6.09068 16.09940 sec.
4.4.9 2.40876 3.04074 4.45869 5.79236 15.70055 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