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

<<< Results of 03/26/2018     |     Results of 04/09/2018>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.1.0 0.95644 1.11968 0.15761 0.30972 2.54345 sec.
7.0.14 0.55428 0.72448 0.18173 0.24062 1.70111 sec.
7.0.5 0.44197 0.60099 0.17067 0.24407 1.45769 sec.
7.0.4 0.38556 0.57706 0.15765 0.24246 1.36273 sec.
7.0.3 0.45705 0.59517 0.14932 0.24815 1.44968 sec.
7.0.2 0.39035 0.56404 0.18214 0.27811 1.41465 sec.
7.0.1 0.45348 0.60151 0.16068 0.23947 1.45514 sec.
5.6.29 1.35051 1.34276 0.47396 0.64253 3.80976 sec.
5.6.20 1.25822 1.39632 0.46768 0.63525 3.75746 sec.
5.6.19 1.24640 1.38504 0.47557 0.63560 3.74261 sec.
5.6.18 1.21121 1.33176 0.46375 0.62115 3.62787 sec.
5.6.17 1.24212 1.36351 0.51388 0.61141 3.73093 sec.
5.6.2 1.45649 1.56247 0.46709 0.61101 4.09706 sec.
5.5.34 1.20453 1.36650 0.47891 0.62618 3.67612 sec.
5.5.33 1.25234 1.42067 0.49457 0.63310 3.80068 sec.
5.5.32 1.28415 1.48559 0.57052 0.65996 4.00022 sec.
5.5.31 1.25711 1.41480 0.50931 0.62145 3.80267 sec.
5.5.18 1.45489 1.55128 0.49456 0.64788 4.14860 sec.
5.5.5 1.42739 1.52539 0.48920 0.69303 4.13501 sec.
5.5.0.a6 1.42212 1.60472 0.49702 0.71427 4.23813 sec.
5.5.0.a.5 1.62528 1.62911 0.49571 0.66301 4.41311 sec.
5.5.0.a.2 1.43801 1.67978 0.49541 0.65945 4.27266 sec.
5.4.34 1.50055 1.52648 0.46651 0.64034 4.13388 sec.
5.4.21 1.44207 1.66678 0.48752 0.68197 4.27835 sec.
5.4.13 1.42083 1.58303 0.49066 0.74482 4.23934 sec.
5.4.12 1.40672 1.73747 0.54656 0.67591 4.36665 sec.
5.4.11 1.49402 1.52593 0.46880 0.71304 4.20179 sec.
5.4.10 1.41043 1.63111 0.50011 0.65699 4.19864 sec.
5.4.9 1.45158 1.78859 0.53407 0.73083 4.50506 sec.
5.4.8 1.40314 1.52340 0.46082 0.66596 4.05332 sec.
5.4.7 1.38899 1.52398 0.47225 0.66331 4.04854 sec.
5.4.6 1.41580 2.11268 1.02152 1.34349 5.89349 sec.
5.4.5 2.88580 1.72901 0.49516 0.67916 5.78913 sec.
5.4.4 1.60221 1.56492 0.48867 0.65333 4.30913 sec.
5.4.3 1.36330 1.57242 0.47325 0.70492 4.11388 sec.
5.4.2 1.44232 1.57203 0.46804 0.65156 4.13395 sec.
5.4.1 1.39311 1.49128 0.46549 0.64964 3.99953 sec.
5.4.0 1.38490 1.53295 0.49880 0.65937 4.07602 sec.
5.3.29 1.49973 1.61600 0.71122 1.18125 5.00820 sec.
5.3.27 1.47959 1.61330 0.68688 1.21306 4.99283 sec.
5.3.23 1.54560 1.65918 0.69546 1.19240 5.09264 sec.
5.3.22 1.54285 1.68038 0.69163 1.20384 5.11869 sec.
5.3.21 1.50620 1.65339 0.70391 1.09766 4.96115 sec.
5.3.20 1.60697 1.67020 0.69788 1.17705 5.15210 sec.
5.3.19 1.52751 1.84952 0.69901 1.15595 5.23199 sec.
5.3.18 1.69213 1.68007 0.72929 1.17249 5.27398 sec.
5.3.17 1.60383 1.72302 0.71060 1.20941 5.24686 sec.
5.3.16 1.62881 1.70144 0.70388 1.13561 5.16975 sec.
5.3.15 1.59096 1.70920 0.70481 1.16124 5.16620 sec.
5.3.14 1.62372 1.72855 0.69896 1.14704 5.19827 sec.
5.3.13 1.58799 1.81874 0.70240 1.17136 5.28050 sec.
5.3.12 1.65564 1.74040 0.70206 1.10432 5.20241 sec.
5.3.11 1.62209 1.66322 0.72008 1.17446 5.17985 sec.
5.3.10 1.68390 1.68864 0.67710 1.12660 5.17624 sec.
5.3.2 1.57271 1.72971 0.68972 1.11834 5.11048 sec.
5.3.1 1.70844 2.05575 1.37701 1.36866 6.50987 sec.
5.3.0 1.63498 1.76623 0.70421 1.16592 5.27135 sec.
5.2.17 1.61361 1.71643 0.99038 2.19687 6.51730 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.66653 1.02984 2.25308 3.94945 sec.
5.0.5 2.62629 3.35711 4.46164 6.28486 16.72990 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