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/28/2017

<<< Results of 03/20/2017

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.83858 0.97223 0.14685 0.23552 2.19317 sec.
7.0.14 0.34428 0.53400 0.17228 0.21762 1.26819 sec.
7.0.5 0.37922 0.55135 0.14785 0.23330 1.31172 sec.
7.0.4 0.36140 0.54169 0.14771 0.21637 1.26717 sec.
7.0.3 0.36896 0.54242 0.14505 0.22465 1.28108 sec.
7.0.2 0.37384 0.54443 0.17589 0.21885 1.31301 sec.
7.0.1 0.35714 0.54506 0.18375 0.21789 1.30383 sec.
5.6.29 1.18654 1.31563 0.46842 0.60800 3.57859 sec.
5.6.20 1.17263 1.30212 0.45037 0.60092 3.52605 sec.
5.6.19 1.17127 1.31062 0.47319 0.63690 3.59197 sec.
5.6.18 1.18134 1.26487 0.45590 0.60449 3.50660 sec.
5.6.17 1.19904 1.31668 0.44850 0.59164 3.55587 sec.
5.6.2 1.32526 1.43380 0.45528 0.62024 3.83458 sec.
5.5.34 1.23171 1.35490 0.51463 0.60125 3.70249 sec.
5.5.33 1.24754 1.40642 0.44873 0.59299 3.69569 sec.
5.5.32 1.19225 1.31255 0.45363 0.60905 3.56748 sec.
5.5.31 1.20780 1.31936 0.45025 0.68826 3.66567 sec.
5.5.18 1.30704 1.53380 0.45094 0.59596 3.88773 sec.
5.5.5 1.47758 1.44855 0.45006 0.59864 3.97483 sec.
5.5.0.a6 1.32734 1.45559 0.45163 0.60988 3.84444 sec.
5.5.0.a.5 1.32432 1.45167 0.48254 0.61037 3.86889 sec.
5.5.0.a.2 1.31183 1.46129 0.48002 0.64489 3.89803 sec.
5.4.34 1.35406 1.50795 0.44972 0.61661 3.92834 sec.
5.4.21 1.33565 1.47221 0.53875 0.71551 4.06212 sec.
5.4.13 1.37834 1.47435 0.45934 0.67790 3.98993 sec.
5.4.12 1.32100 1.46755 0.44573 0.67792 3.91221 sec.
5.4.11 1.33226 1.50967 0.45578 0.63226 3.92996 sec.
5.4.10 1.33988 1.54971 0.52527 0.75905 4.17390 sec.
5.4.9 1.34072 1.46201 0.44512 0.71603 3.96388 sec.
5.4.8 1.33239 1.49500 0.44423 0.63988 3.91150 sec.
5.4.7 1.35270 1.44852 0.44439 0.64359 3.88921 sec.
5.4.6 1.33534 1.45967 0.44396 0.64095 3.87991 sec.
5.4.5 1.39661 1.50469 0.44462 0.63877 3.98469 sec.
5.4.4 1.34300 1.44327 0.44470 0.62923 3.86021 sec.
5.4.3 1.34160 1.47919 0.44992 1.17586 4.44657 sec.
5.4.2 1.80258 1.44756 0.44645 0.61528 4.31187 sec.
5.4.1 1.33545 1.51622 0.44620 0.62167 3.91955 sec.
5.4.0 1.31435 1.46970 0.50523 0.64417 3.93345 sec.
5.3.29 1.42809 1.55708 0.67275 1.16294 4.82086 sec.
5.3.27 1.44854 1.58010 0.66898 1.14177 4.83938 sec.
5.3.23 1.44074 1.60246 0.68712 1.20544 4.93576 sec.
5.3.22 1.42809 1.56433 0.66810 1.15603 4.81656 sec.
5.3.21 1.44568 1.56401 0.64577 1.13645 4.79190 sec.
5.3.20 1.43967 1.55023 0.65807 1.10839 4.75635 sec.
5.3.19 1.46682 1.67008 0.65038 1.11369 4.90098 sec.
5.3.18 1.45242 1.57996 0.66656 1.19919 4.89815 sec.
5.3.17 1.43288 1.56886 0.65863 1.07703 4.73740 sec.
5.3.16 1.45898 1.55274 0.65984 1.12063 4.79219 sec.
5.3.15 1.43780 1.60543 0.68083 1.17952 4.90358 sec.
5.3.14 1.52240 1.64013 0.66666 1.15561 4.98479 sec.
5.3.13 1.51047 1.61577 0.66974 1.08018 4.87617 sec.
5.3.12 1.51408 1.61970 0.66740 1.13551 4.93669 sec.
5.3.11 1.50489 1.62165 0.65794 1.10438 4.88886 sec.
5.3.10 1.50617 1.61951 0.66054 1.08749 4.87370 sec.
5.3.2 1.51294 1.62133 0.66796 1.10478 4.90700 sec.
5.3.1 1.52594 1.61589 0.65400 1.11318 4.90901 sec.
5.3.0 1.56697 1.64739 0.64546 1.08722 4.94705 sec.
5.2.17 1.55808 1.66234 0.92682 2.07402 6.22126 sec.
5.2.16 1.55085 1.66316 0.94212 2.66253 6.81865 sec.
5.1.6 1.68589 2.07773 0.93583 1.93393 6.63338 sec.
5.1.5 1.47280 2.08502 0.97384 2.09841 6.63008 sec.
5.0.5 2.41175 3.09000 4.30010 6.06097 15.86282 sec.
5.0.4 2.23237 2.80464 4.35028 5.85731 15.24460 sec.
4.4.9 2.45433 2.85362 4.14923 5.41705 14.87423 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