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 09/03/2018

<<< Results of 08/27/2018     |     Results of 09/10/2018>>>

PHP versionMathString ManipulationLoopsIf / ElseTotal Time
7.2.4 0.71904 0.75369 0.15789 0.24364 1.87427 sec.
7.1.0 0.39394 0.59171 0.17938 0.00000 1.16503 sec.
7.0.14 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.3 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.2 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
7.0.1 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.29 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.20 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.19 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.18 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.17 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.6.2 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.34 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.33 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.32 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.31 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.18 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.0.a6 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.0.a.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.5.0.a.2 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.34 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.21 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.13 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.12 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.11 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.10 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.9 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.8 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.7 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.6 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.5 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.4 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.3 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.2 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.1 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.4.0 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.29 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.27 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.23 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.22 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.21 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.20 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.19 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.18 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.17 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.16 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.15 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.14 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.13 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.12 0.00000 0.00000 0.00000 0.85786 0.85786 sec.
5.3.11 1.78775 0.00000 0.00000 0.00000 1.78775 sec.
5.3.10 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.2 0.00000 0.00000 0.00000 0.00000 0.00000 sec.
5.3.1 0.00000 0.00000 0.06783 1.19178 1.25961 sec.
5.3.0 1.64812 1.72599 0.69351 1.20616 5.27379 sec.
5.2.17 1.65427 1.72741 0.98814 2.13762 6.50744 sec.
5.2.16 1.61682 1.71380 0.98639 2.07636 6.39338 sec.
5.1.6 1.44040 2.48268 1.00717 2.08090 7.01115 sec.
5.1.5 1.48586 2.13477 1.01069 2.17404 6.80537 sec.
5.0.5 2.55472 3.21997 4.52824 6.43706 16.73999 sec.
5.0.4 2.46745 3.14438 4.59106 6.22219 16.42507 sec.
4.4.9 2.40169 2.90129 4.32513 5.60825 15.23636 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