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 03/06/2017

<<< Results of 02/27/2017     |     Results of 03/13/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.83340 0.95053 0.15497 0.22612 2.16502 sec.
7.0.14 0.34442 0.53241 0.18088 0.22710 1.28481 sec.
7.0.5 0.37289 0.53261 0.14394 0.21956 1.26899 sec.
7.0.4 0.35913 0.56472 0.15803 0.23338 1.31526 sec.
7.0.3 0.35000 0.52919 0.13927 0.23290 1.25136 sec.
7.0.2 0.35551 0.53706 0.21224 0.26024 1.36505 sec.
7.0.1 0.36782 0.53393 0.14779 0.21895 1.26849 sec.
5.6.29 1.18683 1.27192 0.45310 0.59228 3.50414 sec.
5.6.20 1.23932 1.28870 0.46968 0.61520 3.61290 sec.
5.6.19 1.18688 1.34550 0.47190 0.60469 3.60897 sec.
5.6.18 1.20599 1.37779 0.48459 0.60859 3.67695 sec.
5.6.17 1.21862 1.30710 0.51401 0.67300 3.71272 sec.
5.6.2 1.34049 1.42004 0.45672 0.59425 3.81150 sec.
5.5.34 1.24238 1.37109 0.47815 0.59370 3.68532 sec.
5.5.33 1.29541 1.33750 0.45850 0.61894 3.71036 sec.
5.5.32 1.20941 1.32659 0.45430 0.59700 3.58729 sec.
5.5.31 1.21216 1.34359 0.44447 0.60093 3.60117 sec.
5.5.18 1.33602 1.49990 0.47095 0.61071 3.91758 sec.
5.5.5 1.32741 1.45059 0.45768 0.60306 3.83874 sec.
5.5.0.a6 1.29788 1.48279 0.45417 0.61044 3.84528 sec.
5.5.0.a.5 1.39490 1.45228 0.45495 0.60760 3.90973 sec.
5.5.0.a.2 1.35553 1.39998 0.45458 0.65602 3.86611 sec.
5.4.34 1.31002 1.46124 0.44574 0.61470 3.83170 sec.
5.4.21 1.35287 1.46075 0.44379 0.61914 3.87656 sec.
5.4.13 1.34438 1.48169 0.45210 0.63681 3.91499 sec.
5.4.12 1.34315 1.49411 0.55277 0.73518 4.12521 sec.
5.4.11 1.32449 1.44595 0.46035 0.63720 3.86799 sec.
5.4.10 1.32443 1.46990 0.44577 0.64585 3.88594 sec.
5.4.9 1.37505 1.47701 0.44657 0.65328 3.95191 sec.
5.4.8 1.35796 1.49463 0.45016 0.63776 3.94051 sec.
5.4.7 1.34362 1.44524 0.45204 0.64080 3.88169 sec.
5.4.6 1.38568 1.46817 0.44984 0.63425 3.93794 sec.
5.4.5 1.32656 1.46358 0.44858 0.62006 3.85878 sec.
5.4.4 1.49170 1.58742 0.44473 0.61734 4.14118 sec.
5.4.3 1.32998 1.44602 0.44518 1.13917 4.36035 sec.
5.4.2 2.21015 1.60080 0.52233 0.62282 4.95611 sec.
5.4.1 1.54584 1.72310 0.52522 0.74961 4.54377 sec.
5.4.0 1.40117 1.52150 0.45767 0.64958 4.02992 sec.
5.3.29 1.48803 1.63180 0.66992 1.15248 4.94223 sec.
5.3.27 1.46267 1.56291 0.70241 1.09907 4.82706 sec.
5.3.23 1.48290 1.59895 0.69580 1.20494 4.98260 sec.
5.3.22 1.43368 1.64179 0.72068 1.17257 4.96871 sec.
5.3.21 1.46294 1.57883 0.65450 1.14798 4.84425 sec.
5.3.20 1.66643 1.76829 0.73509 1.14751 5.31733 sec.
5.3.19 1.48120 1.56139 0.65859 1.05606 4.75723 sec.
5.3.18 1.52218 1.60574 0.67134 1.10351 4.90277 sec.
5.3.17 1.45402 1.54836 0.65339 1.09974 4.75551 sec.
5.3.16 1.43151 1.55248 0.66392 1.15315 4.80105 sec.
5.3.15 1.52095 1.62162 0.73960 1.13918 5.02135 sec.
5.3.14 1.53332 1.62492 0.69428 1.12890 4.98142 sec.
5.3.13 1.60538 1.60389 0.66573 1.11989 4.99488 sec.
5.3.12 1.57688 1.66566 0.72447 1.21758 5.18458 sec.
5.3.11 1.51665 1.60918 0.67068 1.16715 4.96366 sec.
5.3.10 1.50179 1.67738 0.64981 1.08878 4.91776 sec.
5.3.2 1.56893 1.67271 0.69972 1.11378 5.05514 sec.
5.3.1 1.51772 1.68073 0.67746 1.12372 4.99962 sec.
5.3.0 1.60154 1.67777 0.66183 1.10615 5.04730 sec.
5.2.17 1.61557 1.68377 0.93915 2.03995 6.27844 sec.
5.2.16 1.53907 2.04636 1.56726 2.00614 7.15883 sec.
5.1.6 1.43350 2.07036 0.92648 2.01798 6.44832 sec.
5.1.5 1.48227 2.07223 0.94779 2.09275 6.59503 sec.
5.0.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
4.4.9 0.00000 0.00000 4.98997 5.64138 10.63135 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