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 12/02/2016

<<< Results of 11/21/2016

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.0.5 0.59330 1.03721 0.26086 0.40108 2.29245 sec.
7.0.4 0.37380 0.54215 0.14356 0.21777 1.27728 sec.
7.0.3 0.36110 0.52664 0.13913 0.22114 1.24800 sec.
7.0.2 0.37735 0.58669 0.17514 0.21943 1.35861 sec.
7.0.1 0.35783 0.52714 0.14612 0.22030 1.25138 sec.
5.6.20 1.19423 1.33306 0.45633 0.62621 3.60982 sec.
5.6.19 1.18686 1.29772 0.46521 0.60185 3.55163 sec.
5.6.18 1.17020 1.31302 0.47712 0.62715 3.58749 sec.
5.6.17 1.26595 1.40934 0.49767 0.65910 3.83205 sec.
5.6.2 1.39989 1.45187 0.47299 0.60677 3.93152 sec.
5.5.34 1.19445 1.39355 0.49432 0.62046 3.70278 sec.
5.5.33 1.28641 1.42709 0.45087 0.60509 3.76945 sec.
5.5.32 1.20403 1.52686 0.55281 0.74062 4.02433 sec.
5.5.31 1.23161 1.38532 0.46104 0.64886 3.72682 sec.
5.5.18 1.35371 1.50831 0.49145 0.66414 4.01762 sec.
5.5.5 1.39804 1.45967 0.44864 0.59629 3.90264 sec.
5.5.0.a6 1.31715 1.45855 0.45681 0.60869 3.84120 sec.
5.5.0.a.5 1.36200 1.44658 0.48676 0.63818 3.93353 sec.
5.5.0.a.2 1.28739 1.52826 0.51425 0.64974 3.97964 sec.
5.4.34 1.33966 1.62509 0.45606 0.63625 4.05706 sec.
5.4.21 1.49679 1.63770 0.48566 0.63492 4.25506 sec.
5.4.13 1.38079 1.52016 0.45231 0.63597 3.98923 sec.
5.4.12 1.36385 1.51149 0.47726 0.63133 3.98394 sec.
5.4.11 1.33236 1.49242 0.47746 0.64827 3.95052 sec.
5.4.10 1.35905 1.51591 0.54427 0.75723 4.17645 sec.
5.4.9 1.38677 1.49825 0.44850 0.63686 3.97038 sec.
5.4.8 1.32593 1.51923 0.46270 0.65818 3.96604 sec.
5.4.7 1.38726 1.50988 0.45063 0.62381 3.97158 sec.
5.4.6 1.40717 1.58126 0.48021 0.65183 4.12048 sec.
5.4.5 1.36726 1.47630 0.44556 0.62159 3.91071 sec.
5.4.4 1.35930 1.49590 0.48744 0.65793 4.00057 sec.
5.4.3 1.37187 1.54918 0.44620 0.61938 3.98662 sec.
5.4.2 1.37941 1.51539 0.47685 1.01393 4.38557 sec.
5.4.1 1.81159 1.50337 0.46341 0.65089 4.42926 sec.
5.4.0 1.36215 1.52949 0.47174 0.66136 4.02474 sec.
5.3.29 1.47890 1.55309 0.67758 1.19985 4.90943 sec.
5.3.27 1.46170 1.61617 0.68826 1.17063 4.93676 sec.
5.3.23 1.48122 1.71735 0.69377 1.16637 5.05871 sec.
5.3.22 1.47935 1.64932 0.70622 1.18007 5.01496 sec.
5.3.21 1.46266 1.58755 0.67552 1.10516 4.83089 sec.
5.3.20 1.49875 1.60034 0.67654 1.13847 4.91410 sec.
5.3.19 1.48892 1.61959 0.68890 1.11049 4.90789 sec.
5.3.18 1.47961 1.63963 0.76092 1.33553 5.21568 sec.
5.3.17 1.49269 1.62089 0.68486 1.15419 4.95262 sec.
5.3.16 1.46419 1.57309 0.70554 1.13065 4.87347 sec.
5.3.15 1.46574 1.55951 0.67287 1.10651 4.80463 sec.
5.3.14 1.51571 1.68259 0.66784 1.11712 4.98325 sec.
5.3.13 1.54994 1.63594 0.65581 1.11060 4.95229 sec.
5.3.12 1.52812 2.01605 0.70380 1.16127 5.40923 sec.
5.3.11 1.54803 1.65657 0.66514 1.11893 4.98866 sec.
5.3.10 1.56101 1.70510 0.66791 1.08584 5.01986 sec.
5.3.2 1.58494 1.68657 0.69531 1.12242 5.08923 sec.
5.3.1 1.59821 1.67568 0.69568 1.10770 5.07726 sec.
5.3.0 1.56164 1.67333 0.66586 1.08905 4.98988 sec.
5.2.17 1.60967 1.70438 0.98135 2.07887 6.37426 sec.
5.2.16 1.67202 1.74365 0.97493 2.02375 6.41434 sec.
5.1.6 2.39105 2.21644 0.92975 1.94343 7.48067 sec.
5.1.5 1.44518 2.20506 0.94478 2.07586 6.67088 sec.
5.0.5 2.51567 3.25526 4.35969 5.99604 16.12666 sec.
5.0.4 2.30304 2.99266 4.44876 5.99918 15.74365 sec.
4.4.9 2.17941 2.86053 4.22195 6.15807 15.41996 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