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 11/27/2017

<<< Results of 11/20/2017     |     Results of 12/04/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.91599 1.04229 0.16835 0.23745 2.36408 sec.
7.0.14 0.38563 0.59353 0.20643 0.26849 1.45408 sec.
7.0.5 0.37722 0.57168 0.17299 0.23207 1.35397 sec.
7.0.4 0.38915 0.57946 0.15422 0.24506 1.36789 sec.
7.0.3 0.36001 0.55089 0.14730 0.25462 1.31282 sec.
7.0.2 0.37161 0.55420 0.17686 0.22349 1.32616 sec.
7.0.1 0.36530 0.58871 0.15264 0.22848 1.33512 sec.
5.6.29 1.24666 1.34157 0.46647 0.68122 3.73592 sec.
5.6.20 1.26244 1.39040 0.45505 0.63870 3.74659 sec.
5.6.19 1.20511 1.38041 0.46531 0.61480 3.66563 sec.
5.6.18 1.29185 1.33041 0.45459 0.61524 3.69209 sec.
5.6.17 1.20081 1.34394 0.45810 0.62859 3.63144 sec.
5.6.2 2.69243 1.69141 0.46856 0.61779 5.47019 sec.
5.5.34 1.22871 1.35486 0.46659 0.63293 3.68310 sec.
5.5.33 1.24981 1.40725 0.47876 0.60217 3.73799 sec.
5.5.32 1.20134 1.40097 0.45143 0.62586 3.67959 sec.
5.5.31 1.26589 1.42108 0.49031 0.61883 3.79612 sec.
5.5.18 1.38204 1.51995 0.46950 0.61489 3.98638 sec.
5.5.5 1.40824 1.50667 0.45795 0.61523 3.98809 sec.
5.5.0.a6 1.36684 1.47845 0.46444 0.65592 3.96564 sec.
5.5.0.a.5 1.43591 1.55695 0.47983 0.61157 4.08426 sec.
5.5.0.a.2 1.35095 1.48348 0.46386 0.62055 3.91884 sec.
5.4.34 1.39005 1.56090 0.45559 0.63216 4.03870 sec.
5.4.21 1.39049 1.51815 0.45921 0.65295 4.02079 sec.
5.4.13 1.39094 1.50617 0.44805 0.62428 3.96945 sec.
5.4.12 1.35823 1.47021 0.74028 1.23396 4.80267 sec.
5.4.11 3.09889 1.52773 0.87221 1.27939 6.77822 sec.
5.4.10 1.70431 1.49541 0.45882 0.64776 4.30629 sec.
5.4.9 1.37951 1.49839 0.46181 0.70875 4.04845 sec.
5.4.8 1.34160 1.48294 0.45770 0.65518 3.93742 sec.
5.4.7 1.35355 1.49981 0.45098 0.64866 3.95302 sec.
5.4.6 1.37822 1.48428 0.46321 0.64209 3.96781 sec.
5.4.5 1.33133 1.48453 0.77247 1.18125 4.76957 sec.
5.4.4 1.50597 1.52435 0.47347 0.63406 4.13785 sec.
5.4.3 1.38543 1.55293 0.45372 0.67321 4.06529 sec.
5.4.2 1.34677 1.47813 0.45483 0.62460 3.90433 sec.
5.4.1 1.34187 1.52146 0.45801 0.62550 3.94685 sec.
5.4.0 1.43623 1.48948 0.46198 0.64441 4.03211 sec.
5.3.29 1.47337 1.64460 0.68775 1.15904 4.96476 sec.
5.3.27 1.50403 1.60550 0.68829 1.18232 4.98014 sec.
5.3.23 1.48783 1.58433 0.68739 1.15637 4.91591 sec.
5.3.22 1.46909 1.59039 0.66494 1.15325 4.87767 sec.
5.3.21 1.49595 1.60382 0.66656 1.07388 4.84020 sec.
5.3.20 1.50830 1.59229 0.66118 1.16276 4.92453 sec.
5.3.19 1.46531 1.58459 0.66319 1.12042 4.83350 sec.
5.3.18 1.51966 1.64653 0.70071 1.12514 4.99204 sec.
5.3.17 1.42706 1.58603 0.66850 1.12599 4.80759 sec.
5.3.16 1.47100 1.57750 0.66753 1.10458 4.82061 sec.
5.3.15 1.46796 1.59415 0.66479 1.11715 4.84406 sec.
5.3.14 1.54466 1.68055 0.68388 1.11714 5.02623 sec.
5.3.13 1.55599 1.63217 0.66319 1.13117 4.98252 sec.
5.3.12 1.54646 1.64207 0.67790 1.38535 5.25178 sec.
5.3.11 2.69538 1.69804 0.70731 1.15701 6.25774 sec.
5.3.10 1.54092 1.64772 0.67796 1.12546 4.99206 sec.
5.3.2 1.56122 1.66629 0.71356 1.12962 5.07069 sec.
5.3.1 1.59219 1.67572 0.67528 1.15113 5.09432 sec.
5.3.0 1.56705 1.68698 0.66324 1.31133 5.22860 sec.
5.2.17 2.52900 1.71259 0.97447 2.21074 7.42680 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.67096 0.99310 2.13243 3.79649 sec.
5.0.5 2.43485 3.19375 4.46428 6.15882 16.25170 sec.
5.0.4 2.22886 2.90646 4.47197 6.12536 15.73265 sec.
4.4.9 2.23322 2.83089 4.37941 5.65590 15.09942 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