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

<<< Results of 05/16/2016

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.0.5 0.85410 1.05215 0.17378 0.25183 2.33186 sec.
7.0.4 0.37467 0.53286 0.15155 0.22090 1.27999 sec.
7.0.3 0.39063 0.53746 0.14296 0.22704 1.29808 sec.
7.0.2 0.35366 0.57653 0.18791 0.22432 1.34242 sec.
7.0.1 0.37764 0.64971 0.18300 0.29951 1.50986 sec.
5.6.20 1.33219 1.31039 0.45861 0.60607 3.70726 sec.
5.6.19 1.20048 1.32074 0.48683 0.68163 3.68968 sec.
5.6.18 1.24139 1.35852 0.45631 0.61200 3.66823 sec.
5.6.17 1.21487 1.32861 0.47869 0.70096 3.72313 sec.
5.6.2 1.35919 1.52044 0.53538 0.73194 4.14694 sec.
5.5.34 1.43750 1.45230 0.51578 0.61169 4.01727 sec.
5.5.33 1.28123 1.42634 0.51037 0.64767 3.86560 sec.
5.5.32 1.46523 1.61822 0.48517 0.64404 4.21267 sec.
5.5.31 1.27580 1.44029 0.48452 0.63644 3.83706 sec.
5.5.18 1.44415 1.56190 0.53577 0.72145 4.26327 sec.
5.5.5 1.43322 1.48932 0.45141 0.60087 3.97482 sec.
5.5.0.a6 1.31482 1.41985 0.46286 0.59735 3.79487 sec.
5.5.0.a.5 1.31422 1.45873 0.47423 0.60257 3.84975 sec.
5.5.0.a.2 1.39692 1.41204 0.45188 0.59889 3.85973 sec.
5.4.34 1.30173 1.46136 0.46511 0.62588 3.85408 sec.
5.4.21 1.36253 1.51950 0.47058 0.63717 3.98978 sec.
5.4.13 1.37714 1.43929 0.44538 0.61412 3.87593 sec.
5.4.12 1.35173 1.49852 0.45188 0.62613 3.92826 sec.
5.4.11 1.37057 1.54718 0.45820 0.65643 4.03237 sec.
5.4.10 1.37369 1.48233 0.45417 0.62924 3.93943 sec.
5.4.9 1.40389 1.48391 0.47930 0.66658 4.03368 sec.
5.4.8 1.32094 1.51687 0.48987 0.69472 4.02239 sec.
5.4.7 1.39961 1.47459 0.45609 0.63651 3.96680 sec.
5.4.6 1.35622 1.50580 0.48039 0.65982 4.00222 sec.
5.4.5 1.34322 1.47746 0.45055 0.64287 3.91409 sec.
5.4.4 1.30359 1.44157 0.44575 0.62496 3.81588 sec.
5.4.3 1.33362 1.45389 0.46822 0.61805 3.87378 sec.
5.4.2 1.42649 1.50120 0.85549 1.28956 5.07273 sec.
5.4.1 1.38941 1.48942 0.46811 0.73797 4.08491 sec.
5.4.0 1.66419 1.81313 0.53199 0.71238 4.72169 sec.
5.3.29 1.50896 1.61497 0.66926 1.21779 5.01097 sec.
5.3.27 1.53756 2.01704 0.80471 1.39129 5.75060 sec.
5.3.23 1.71672 1.92260 0.80631 1.31836 5.76400 sec.
5.3.22 1.78604 1.59700 0.65932 1.16928 5.21165 sec.
5.3.21 1.48823 1.59377 0.73452 1.19323 5.00975 sec.
5.3.20 1.45366 1.60441 0.67090 1.11077 4.83974 sec.
5.3.19 1.42768 1.56958 0.68363 1.06682 4.74771 sec.
5.3.18 1.43637 1.93285 0.82875 1.31486 5.51283 sec.
5.3.17 1.74113 1.83552 0.79479 1.31873 5.69017 sec.
5.3.16 1.58555 1.57567 0.67280 1.11111 4.94513 sec.
5.3.15 1.46175 1.62428 0.68641 1.13929 4.91173 sec.
5.3.14 1.55343 1.63701 0.69174 1.09780 4.97998 sec.
5.3.13 1.66759 1.64930 0.67239 1.05815 5.04742 sec.
5.3.12 1.62314 1.65759 0.71241 1.19265 5.18578 sec.
5.3.11 1.63468 1.71612 0.70370 1.11056 5.16506 sec.
5.3.10 1.54769 1.64659 0.66925 1.11738 4.98091 sec.
5.3.2 1.63753 1.63465 0.66312 1.10585 5.04114 sec.
5.3.1 1.56735 1.67467 0.68520 1.15454 5.08175 sec.
5.3.0 1.62941 1.64032 0.66737 1.08773 5.02482 sec.
5.2.17 1.56391 1.76642 1.00883 2.03630 6.37546 sec.
5.2.16 1.54748 2.31091 1.21996 2.01631 7.09466 sec.
5.1.6 1.40869 2.12374 0.93466 1.95723 6.42432 sec.
5.1.5 1.41403 2.12783 0.98274 2.15326 6.67787 sec.
5.0.5 2.46020 3.21491 4.44268 6.15968 16.27746 sec.
5.0.4 2.34848 3.11259 4.46820 6.04193 15.97121 sec.
4.4.9 2.14589 2.81951 4.37427 5.47440 14.81408 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