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/05/2018

<<< Results of 02/26/2018     |     Results of 03/12/2018>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.93033 1.13492 0.27180 0.25016 2.58721 sec.
7.0.14 0.41526 0.71626 0.18677 0.31017 1.62845 sec.
7.0.5 0.42529 0.67585 0.21549 0.28052 1.59715 sec.
7.0.4 0.46160 0.74595 0.19697 0.27611 1.68062 sec.
7.0.3 0.37696 0.79367 0.14978 0.23585 1.55626 sec.
7.0.2 0.39850 0.70507 0.22207 0.24119 1.56683 sec.
7.0.1 0.42836 0.64362 0.24563 0.31590 1.63352 sec.
5.6.29 1.38825 1.51671 0.49196 0.72462 4.12154 sec.
5.6.20 1.32708 1.45127 0.52800 0.77655 4.08290 sec.
5.6.19 1.35190 1.39892 0.55028 0.69284 3.99394 sec.
5.6.18 1.24671 1.62043 0.48980 0.65507 4.01201 sec.
5.6.17 1.24655 1.36562 0.49278 0.63229 3.73724 sec.
5.6.2 1.37696 1.64013 0.49484 0.62424 4.13616 sec.
5.5.34 1.32368 1.38105 0.47809 0.64294 3.82576 sec.
5.5.33 1.25983 1.43970 0.46747 0.62915 3.79615 sec.
5.5.32 1.50804 1.40057 0.46932 0.73699 4.11493 sec.
5.5.31 1.28876 1.37558 0.47330 0.62481 3.76245 sec.
5.5.18 1.42468 1.55034 0.53681 0.65199 4.16382 sec.
5.5.5 1.54291 1.60227 0.47848 0.65047 4.27412 sec.
5.5.0.a6 1.40035 1.55287 0.52281 0.65163 4.12766 sec.
5.5.0.a.5 1.46299 1.72032 0.49892 0.64597 4.32819 sec.
5.5.0.a.2 1.51100 1.56126 0.48243 0.67359 4.22828 sec.
5.4.34 1.44527 1.53433 0.56641 0.67751 4.22352 sec.
5.4.21 1.46596 1.57381 0.47035 0.68584 4.19595 sec.
5.4.13 1.38669 1.52135 0.46983 0.67282 4.05070 sec.
5.4.12 1.44466 1.54503 0.53990 0.64226 4.17185 sec.
5.4.11 1.47221 1.64692 0.47230 0.68446 4.27588 sec.
5.4.10 1.66962 1.64508 0.64663 0.67480 4.63614 sec.
5.4.9 1.42938 1.59199 0.46401 0.70262 4.18801 sec.
5.4.8 1.36235 1.57031 0.47071 0.65987 4.06325 sec.
5.4.7 1.36816 1.49689 0.54321 0.66904 4.07730 sec.
5.4.6 1.41061 1.58334 0.45918 0.66280 4.11593 sec.
5.4.5 2.67025 1.55002 0.47560 0.66580 5.36167 sec.
5.4.4 1.53928 1.60431 0.47821 0.66068 4.28248 sec.
5.4.3 1.37261 1.58967 0.47384 0.69079 4.12691 sec.
5.4.2 1.50073 1.50545 0.46903 0.63461 4.10983 sec.
5.4.1 1.39663 1.48555 0.45689 0.65215 3.99122 sec.
5.4.0 1.45773 1.57386 0.47135 0.75449 4.25742 sec.
5.3.29 1.55328 1.85605 0.72820 1.17613 5.31365 sec.
5.3.27 1.49357 1.79886 0.68831 1.18769 5.16844 sec.
5.3.23 1.49830 1.59884 0.68881 1.18197 4.96792 sec.
5.3.22 1.49999 1.65120 0.71918 1.21067 5.08105 sec.
5.3.21 1.64359 1.63248 0.70999 1.08938 5.07544 sec.
5.3.20 1.55583 1.64462 0.78508 1.18508 5.17061 sec.
5.3.19 1.61221 1.91406 0.68883 1.20526 5.42037 sec.
5.3.18 1.55648 1.65616 0.70856 1.18503 5.10624 sec.
5.3.17 1.48725 1.64874 0.68564 1.11233 4.93397 sec.
5.3.16 1.50978 1.60496 0.68388 1.12819 4.92681 sec.
5.3.15 1.52702 1.70634 0.74432 1.19409 5.17177 sec.
5.3.14 1.62216 1.71981 0.70587 1.21589 5.26373 sec.
5.3.13 1.69879 1.85133 0.71503 1.15168 5.41683 sec.
5.3.12 1.60011 1.73762 0.70857 1.11181 5.15810 sec.
5.3.11 1.54794 1.68789 0.76971 1.14187 5.14742 sec.
5.3.10 1.61512 1.69213 0.68043 1.12760 5.11529 sec.
5.3.2 1.56296 1.71958 0.69262 1.17601 5.15117 sec.
5.3.1 1.63221 2.93327 0.88903 1.16892 6.62343 sec.
5.3.0 1.69091 1.77663 0.74400 1.12064 5.33218 sec.
5.2.17 1.64444 1.71358 0.96158 2.19233 6.51193 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.68026 1.05207 2.15448 3.88681 sec.
5.0.5 2.67487 3.25601 4.47995 6.27731 16.68813 sec.
5.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
4.4.9 0.00000 0.00000 0.00000 0.00000 0.00000 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