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 07/30/2018

<<< Results of 07/23/2018     |     Results of 08/06/2018>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.2.4 0.83812 1.11396 0.16185 0.30436 2.41829 sec.
7.1.0 0.16577 0.00000 0.00000 0.00000 0.16577 sec.
7.0.14 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.3 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.2 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.1 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.29 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.20 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.19 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.18 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.17 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.2 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.34 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.33 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.32 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.31 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.18 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.0.a6 0.00000 0.00000 0.00000 0.67775 0.67775 sec.
5.5.0.a.5 1.30669 0.00000 0.00000 0.00000 1.30669 sec.
5.5.0.a.2 0.00000 0.14776 0.50783 0.87148 1.52707 sec.
5.4.34 1.53003 1.72517 0.50976 0.66079 4.42575 sec.
5.4.21 1.46311 1.80808 0.54682 0.77332 4.59133 sec.
5.4.13 1.69462 1.61134 0.59803 0.71021 4.61419 sec.
5.4.12 1.49016 1.79866 0.55035 0.67734 4.51651 sec.
5.4.11 1.43792 1.56172 0.54009 0.69725 4.23698 sec.
5.4.10 1.51447 1.69868 0.51039 0.73491 4.45846 sec.
5.4.9 1.55808 1.73850 0.54555 0.79580 4.63794 sec.
5.4.8 1.64606 1.59615 0.51239 0.68152 4.43612 sec.
5.4.7 1.63897 2.21957 0.47645 0.73983 5.07483 sec.
5.4.6 1.64808 1.67485 0.54189 0.70550 4.57032 sec.
5.4.5 1.42552 1.68610 0.53450 0.77618 4.42230 sec.
5.4.4 1.70699 1.84895 0.47626 0.83380 4.86600 sec.
5.4.3 1.81680 1.67778 0.56517 0.79361 4.85337 sec.
5.4.2 1.53669 1.67898 0.49060 0.67118 4.37746 sec.
5.4.1 1.48480 1.74350 0.61422 0.69664 4.53915 sec.
5.4.0 1.74237 1.80369 0.57833 0.74678 4.87117 sec.
5.3.29 1.55622 1.94874 0.94884 1.35258 5.80638 sec.
5.3.27 2.06337 1.76542 0.71702 1.23517 5.78098 sec.
5.3.23 1.75904 1.91839 0.84939 1.28357 5.81039 sec.
5.3.22 1.71202 1.85098 0.74626 1.21547 5.52473 sec.
5.3.21 1.69317 2.12246 0.89480 1.27344 5.98388 sec.
5.3.20 1.83116 1.90833 0.83593 2.50034 7.07576 sec.
5.3.19 2.64210 1.93762 0.76716 1.39924 6.74613 sec.
5.3.18 1.66602 1.86348 0.73117 1.42609 5.68675 sec.
5.3.17 1.73566 1.77800 0.80263 1.33192 5.64820 sec.
5.3.16 1.67949 2.15537 0.85446 1.28627 5.97560 sec.
5.3.15 1.63758 1.98870 0.86997 1.35891 5.85516 sec.
5.3.14 1.88419 2.03728 0.80492 1.24911 5.97549 sec.
5.3.13 1.69433 2.09549 0.71537 1.28142 5.78661 sec.
5.3.12 1.91925 2.00450 0.82758 1.32806 6.07939 sec.
5.3.11 2.02554 1.85002 0.76185 1.24236 5.87976 sec.
5.3.10 1.95705 2.41879 0.79811 1.23507 6.40903 sec.
5.3.2 1.74176 2.00538 0.85291 1.33226 5.93230 sec.
5.3.1 1.69088 2.22287 0.84204 1.35729 6.11308 sec.
5.3.0 1.88166 2.04612 0.74678 1.23984 5.91440 sec.
5.2.17 1.98625 1.77034 0.98422 2.39613 7.13694 sec.
5.2.16 1.84088 1.87552 1.12832 2.44534 7.29005 sec.
5.1.6 1.71307 2.37956 1.06845 2.10284 7.26392 sec.
5.1.5 1.65737 2.70845 1.12395 2.21452 7.70429 sec.
5.0.5 2.85226 3.37358 6.06473 6.67254 18.96310 sec.
5.0.4 2.55623 3.15004 4.69109 6.19049 16.58784 sec.
4.4.9 2.34457 3.23353 4.78493 5.92717 16.29020 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