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 04/10/2017

<<< Results of 04/03/2017     |     Results of 04/17/2017>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.51069 1.02325 0.23946 0.51177 2.28517 sec.
7.0.14 0.53284 0.53132 0.18118 0.21742 1.46275 sec.
7.0.5 0.35864 0.55421 0.14475 0.21625 1.27385 sec.
7.0.4 0.35447 0.54087 0.14721 0.21789 1.26045 sec.
7.0.3 0.36440 0.52825 0.14215 0.21688 1.25168 sec.
7.0.2 0.36544 0.56627 0.17560 0.21853 1.32584 sec.
7.0.1 0.35096 0.52716 0.14568 0.21857 1.24238 sec.
5.6.29 1.16205 1.27117 0.44935 0.60712 3.48969 sec.
5.6.20 1.18255 1.30071 0.44859 0.59093 3.52279 sec.
5.6.19 1.16011 1.27751 0.47213 0.63230 3.54205 sec.
5.6.18 1.18582 1.27698 0.45693 0.59796 3.51769 sec.
5.6.17 1.20233 1.30873 0.45187 0.59972 3.56264 sec.
5.6.2 1.33340 1.43791 0.45826 0.60905 3.83863 sec.
5.5.34 1.22413 1.36796 0.47440 0.62622 3.69270 sec.
5.5.33 1.21048 1.37534 0.45387 0.59249 3.63218 sec.
5.5.32 1.22097 1.41724 0.44608 0.59065 3.67494 sec.
5.5.31 1.19752 1.31929 0.44547 0.59379 3.55608 sec.
5.5.18 1.33733 1.45917 0.45170 0.59892 3.84712 sec.
5.5.5 1.30794 1.44805 0.45020 0.59803 3.80422 sec.
5.5.0.a6 1.36210 1.43652 0.45775 0.59722 3.85360 sec.
5.5.0.a.5 1.33647 1.61996 0.49150 0.62137 4.06929 sec.
5.5.0.a.2 1.28016 1.43143 0.45511 0.62932 3.79601 sec.
5.4.34 1.34503 1.45570 0.44713 0.61064 3.85850 sec.
5.4.21 1.33592 1.46013 0.53822 0.72274 4.05701 sec.
5.4.13 1.33932 1.46816 0.45761 0.66561 3.93070 sec.
5.4.12 1.37055 1.47486 0.44532 0.66143 3.95216 sec.
5.4.11 1.37210 1.43253 0.44261 0.62560 3.87283 sec.
5.4.10 1.34427 1.50828 0.46276 0.65448 3.96978 sec.
5.4.9 1.33508 1.47009 0.45256 0.71345 3.97118 sec.
5.4.8 1.32100 1.49627 0.44555 0.64752 3.91033 sec.
5.4.7 1.36204 1.46797 0.44708 0.64281 3.91991 sec.
5.4.6 1.33081 1.45509 0.44481 0.63422 3.86493 sec.
5.4.5 1.34968 1.45822 0.44624 0.64097 3.89511 sec.
5.4.4 1.32750 1.44840 0.44505 0.61177 3.83271 sec.
5.4.3 1.33484 1.46077 0.97809 1.76397 5.53766 sec.
5.4.2 1.69288 1.44564 0.44495 0.61462 4.19808 sec.
5.4.1 1.48417 1.54022 0.44389 0.61301 4.08129 sec.
5.4.0 1.32520 1.46056 0.49038 0.62838 3.90452 sec.
5.3.29 1.41736 2.64481 0.67108 1.84013 6.57338 sec.
5.3.27 1.76535 1.56352 0.66565 1.14167 5.13619 sec.
5.3.23 1.50964 1.58652 0.69768 1.21433 5.00816 sec.
5.3.22 1.44094 1.55427 0.66719 1.16603 4.82843 sec.
5.3.21 1.42598 1.55305 0.70103 1.22187 4.90193 sec.
5.3.20 1.44954 1.56646 0.65562 1.12207 4.79370 sec.
5.3.19 1.45267 1.56735 0.65616 1.11520 4.79137 sec.
5.3.18 1.43326 1.56977 0.66727 1.19557 4.86588 sec.
5.3.17 1.41615 1.54725 0.65646 1.07737 4.69722 sec.
5.3.16 1.44416 1.55579 0.67113 1.13059 4.80167 sec.
5.3.15 1.42741 1.55132 0.67211 1.11954 4.77038 sec.
5.3.14 1.49538 1.62854 0.66978 1.12660 4.92030 sec.
5.3.13 1.50479 1.64033 0.67065 1.08395 4.89973 sec.
5.3.12 1.50013 1.61829 0.65143 1.13596 4.90581 sec.
5.3.11 1.49219 1.60911 0.65932 1.09249 4.85311 sec.
5.3.10 1.52199 1.59196 0.69571 1.09478 4.90444 sec.
5.3.2 1.57997 1.65742 0.66276 1.10509 5.00524 sec.
5.3.1 1.53501 1.61344 0.66500 1.11800 4.93145 sec.
5.3.0 1.55612 1.62364 0.64271 1.08808 4.91055 sec.
5.2.17 1.56050 1.65869 0.92828 2.10540 6.25288 sec.
5.2.16 1.50522 1.63619 1.61760 2.17000 6.92900 sec.
5.1.6 1.45615 2.12165 0.91708 1.94118 6.43605 sec.
5.1.5 1.45495 2.08117 0.94887 2.07101 6.55600 sec.
5.0.5 2.42517 3.02929 4.30401 7.12366 16.88213 sec.
5.0.4 3.08663 2.80674 4.32963 5.82241 16.04540 sec.
4.4.9 2.18491 2.84729 4.12767 5.33679 14.49666 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