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 02/21/2018

<<< Results of 02/12/2018

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 1.03819 1.24920 0.18815 0.40278 2.87832 sec.
7.0.14 0.48109 0.80929 0.28581 0.31226 1.88845 sec.
7.0.5 0.46448 0.62273 0.19830 0.37008 1.65558 sec.
7.0.4 0.51274 0.61711 0.18251 0.23580 1.54817 sec.
7.0.3 0.41253 0.57161 0.19020 0.24178 1.41613 sec.
7.0.2 0.37948 0.64543 0.18068 0.23811 1.44369 sec.
7.0.1 0.45335 0.58608 0.19401 0.29079 1.52424 sec.
5.6.29 1.27262 1.42793 0.48759 0.65806 3.84620 sec.
5.6.20 1.40259 1.64214 0.53447 0.70894 4.28814 sec.
5.6.19 1.26267 1.43211 0.47703 0.63560 3.80741 sec.
5.6.18 1.32541 1.39399 0.48053 0.62846 3.82839 sec.
5.6.17 1.27571 1.51503 0.47745 0.65379 3.92198 sec.
5.6.2 1.65049 1.65125 0.49064 0.73800 4.53038 sec.
5.5.34 1.29612 1.40081 0.56262 0.75345 4.01301 sec.
5.5.33 1.38126 1.46327 0.57538 0.67504 4.09496 sec.
5.5.32 1.35413 1.51095 0.65930 0.77050 4.29488 sec.
5.5.31 1.40484 1.55324 0.49659 0.64563 4.10029 sec.
5.5.18 1.77901 1.67504 0.56173 0.66493 4.68071 sec.
5.5.5 1.66583 1.96044 0.53953 0.74684 4.91264 sec.
5.5.0.a6 1.57227 1.76885 0.57154 0.71044 4.62310 sec.
5.5.0.a.5 1.49119 1.66891 0.48828 0.65635 4.30474 sec.
5.5.0.a.2 1.64332 1.50794 0.51329 0.67603 4.34059 sec.
5.4.34 1.49707 1.60332 0.46874 0.64558 4.21471 sec.
5.4.21 1.55462 1.65146 0.51955 0.71214 4.43776 sec.
5.4.13 1.45013 1.66556 0.51768 0.65174 4.28511 sec.
5.4.12 1.53745 1.62648 0.57617 0.67445 4.41455 sec.
5.4.11 1.54647 1.81487 0.58412 0.71299 4.65844 sec.
5.4.10 1.56156 1.72418 0.49683 0.70139 4.48396 sec.
5.4.9 1.68444 1.77801 0.53713 0.76853 4.76811 sec.
5.4.8 1.50699 1.59754 0.49395 0.71279 4.31127 sec.
5.4.7 1.42983 1.58943 0.53766 0.75622 4.31315 sec.
5.4.6 2.30792 1.91073 0.48435 0.66829 5.37129 sec.
5.4.5 1.42550 1.60292 0.47563 0.67279 4.17684 sec.
5.4.4 1.56918 1.62335 0.47021 0.65400 4.31675 sec.
5.4.3 1.48368 1.70112 0.46894 0.72656 4.38030 sec.
5.4.2 1.47580 1.55683 0.50816 0.67236 4.21316 sec.
5.4.1 1.60052 1.59696 0.48950 0.80551 4.49250 sec.
5.4.0 1.44982 1.56643 0.46300 0.72659 4.20585 sec.
5.3.29 1.52979 1.59532 0.70762 1.18904 5.02176 sec.
5.3.27 1.75904 1.68068 0.74631 1.24224 5.42827 sec.
5.3.23 1.53971 1.67648 0.71585 1.21683 5.14888 sec.
5.3.22 1.64065 1.76120 0.69876 1.27813 5.37875 sec.
5.3.21 1.60183 1.85055 0.69422 1.18635 5.33295 sec.
5.3.20 1.79603 1.97341 0.69523 1.19055 5.65521 sec.
5.3.19 1.54668 1.94085 0.69792 1.21197 5.39742 sec.
5.3.18 1.57020 1.76571 0.72150 1.20515 5.26256 sec.
5.3.17 1.57935 1.78014 0.72324 1.35958 5.44232 sec.
5.3.16 1.67136 1.62399 0.70801 1.16617 5.16952 sec.
5.3.15 1.66122 1.73951 0.85667 1.22413 5.48154 sec.
5.3.14 1.65106 1.90410 0.76755 1.15697 5.47968 sec.
5.3.13 1.68553 1.80864 0.84569 1.18996 5.52981 sec.
5.3.12 1.61520 2.00978 0.77900 1.12279 5.52677 sec.
5.3.11 1.78395 1.77981 0.70147 1.22439 5.48962 sec.
5.3.10 1.76007 1.85786 0.75396 1.57890 5.95080 sec.
5.3.2 2.46576 1.96732 0.70106 1.17763 6.31177 sec.
5.3.1 1.84461 1.91493 0.70173 1.34375 5.80501 sec.
5.3.0 0.33789 0.00000 0.00000 0.00000 0.33789 sec.
5.2.17 1.71170 1.85717 1.04203 2.13468 6.74558 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.67077 1.00532 2.12509 3.80119 sec.
5.0.5 2.61670 3.22137 4.57652 6.37009 16.78468 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.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