3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(true); for ($i = 0; $i < 100000; ++$i) { } $end = microtime(true); echo $i/($end - $start), ' op/s';
Output for 7.1.0
103537496.91434 op/s
Output for 7.0.14
104596109.72569 op/s
Output for 7.0.12
176379478.55341 op/s
Output for 7.0.11
106050670.03793 op/s
Output for 7.0.9 - 7.0.10
174835514.79783 op/s
Output for 7.0.8
82989790.265137 op/s
Output for 7.0.7
110144537.81513 op/s
Output for 7.0.6
102150608.86508 op/s
Output for 7.0.5
87636941.078145 op/s
Output for 7.0.4
90570157.633341 op/s
Output for 7.0.3
183157379.91266 op/s
Output for 7.0.2
193821811.46026 op/s
Output for 7.0.1
108829891.02231 op/s
Output for 7.0.0
116411434.91535 op/s
Output for 5.6.28
36164028.280738 op/s
Output for 5.6.27
25846093.172295 op/s
Output for 5.6.26
40337603.385266 op/s
Output for 5.6.25
62378108.268888 op/s
Output for 5.6.24
55494892.828791 op/s
Output for 5.6.23
58213795.975017 op/s
Output for 5.1.1, 5.6.22
29940067.099722 op/s
Output for 5.5.9, 5.6.9, 5.6.21
36996595.219194 op/s
Output for 5.6.20
51125109.702584 op/s
Output for 5.6.19
49778115.357228 op/s
Output for 5.6.18
35599253.097946 op/s
Output for 5.6.17
47211886.537596 op/s
Output for 5.6.16
27769491.525424 op/s
Output for 5.6.15
35225531.200134 op/s
Output for 5.6.14
35563032.050195 op/s
Output for 5.6.13
23758377.704769 op/s
Output for 5.6.12
50833886.8016 op/s
Output for 5.6.11
31657513.774625 op/s
Output for 5.6.10
32331025.977029 op/s
Output for 5.6.8
45206984.26385 op/s
Output for 5.6.7
26384248.600365 op/s
Output for 5.6.6
49165443.676005 op/s
Output for 5.6.5
24637593.984962 op/s
Output for 5.6.4
38522263.041881 op/s
Output for 5.6.3
47754799.043607 op/s
Output for 5.6.2
47984258.09404 op/s
Output for 5.6.1
38547045.308336 op/s
Output for 5.6.0
50661964.005315 op/s
Output for 5.5.38
56118597.805727 op/s
Output for 5.5.37
38803811.638449 op/s
Output for 5.5.36
34663669.421488 op/s
Output for 5.4.14, 5.5.35
38653617.17814 op/s
Output for 5.5.34
37052155.477032 op/s
Output for 5.5.33
42230205.396698 op/s
Output for 5.5.32
35037206.582575 op/s
Output for 5.5.31
39202766.613702 op/s
Output for 5.5.30
40163784.353155 op/s
Output for 5.5.29
47127011.235955 op/s
Output for 5.5.28
38283169.039796 op/s
Output for 5.5.27
48072252.148997 op/s
Output for 5.5.26
36980285.663904 op/s
Output for 5.5.25
34940886.37121 op/s
Output for 5.5.24
34845094.292598 op/s
Output for 5.5.23
40469934.388267 op/s
Output for 5.5.22
38564766.458257 op/s
Output for 5.5.21
46489736.200399 op/s
Output for 5.5.20
38893768.545994 op/s
Output for 5.5.19
37735528.565002 op/s
Output for 5.5.18
40701639.980592 op/s
Output for 5.5.16
47576043.557169 op/s
Output for 5.5.15
41892768.677587 op/s
Output for 5.5.14
46681179.744018 op/s
Output for 5.5.13
36830909.72954 op/s
Output for 5.5.12
33423412.224082 op/s
Output for 5.5.11
53301613.928072 op/s
Output for 5.5.10
42124173.947976 op/s
Output for 5.5.8
45575399.326307 op/s
Output for 5.5.7
38532880.110243 op/s
Output for 5.5.6
37147320.875033 op/s
Output for 5.5.5
42426704.430508 op/s
Output for 5.5.4
35261067.675494 op/s
Output for 5.5.3
38300648.342617 op/s
Output for 5.5.2
36928191.583025 op/s
Output for 5.5.1
57606153.000961 op/s
Output for 5.5.0
33256454.170631 op/s
Output for 5.4.45
38067743.69214 op/s
Output for 5.4.44
38109249.500273 op/s
Output for 5.4.43
34292404.545826 op/s
Output for 5.4.42
35460804.8698 op/s
Output for 5.4.41
57401176.953606 op/s
Output for 5.4.40
46233509.700176 op/s
Output for 5.4.39
39557710.082052 op/s
Output for 5.4.38
55894243.070362 op/s
Output for 5.4.37
46556820.956821 op/s
Output for 5.4.36
34188979.458754 op/s
Output for 5.4.35
39166159.305257 op/s
Output for 5.4.34
36220241.7962 op/s
Output for 5.4.32
34709566.368752 op/s
Output for 5.4.31
36389935.797328 op/s
Output for 5.4.30
39016781.395349 op/s
Output for 5.4.29
45679634.066652 op/s
Output for 5.4.28
43441781.460383 op/s
Output for 5.4.27
34461457.56306 op/s
Output for 5.4.26
48896059.687573 op/s
Output for 5.4.25
32862994.593748 op/s
Output for 5.4.24
34340134.272147 op/s
Output for 5.4.23
34652214.144085 op/s
Output for 5.4.22
33135598.040765 op/s
Output for 5.4.21
32678644.331905 op/s
Output for 5.4.20
30961127.925002 op/s
Output for 5.4.19
51231269.085135 op/s
Output for 5.4.18
42353872.56387 op/s
Output for 5.4.17
39049473.978214 op/s
Output for 5.4.16
39416445.822761 op/s
Output for 5.4.15
43253624.832422 op/s
Output for 5.4.10, 5.4.13
32992244.159522 op/s
Output for 5.4.12
32981866.792483 op/s
Output for 5.4.11
48494669.904035 op/s
Output for 5.4.9
32958541.568443 op/s
Output for 5.4.8
33026015.748031 op/s
Output for 5.4.7
30684790.401639 op/s
Output for 5.4.6
39696233.200833 op/s
Output for 5.4.5
33627066.463561 op/s
Output for 5.4.4
45104892.999247 op/s
Output for 5.4.3
44705862.289491 op/s
Output for 5.4.2
37091475.061903 op/s
Output for 5.4.1
46253903.837671 op/s
Output for 5.4.0
41372104.951667 op/s
Output for 5.3.29
26225873.819796 op/s
Output for 5.3.28
29922979.239495 op/s
Output for 5.3.27
29780630.502698 op/s
Output for 5.3.26
27585031.239724 op/s
Output for 5.3.25
31695790.825965 op/s
Output for 5.3.24
31455707.214639 op/s
Output for 5.3.23
27411960.002614 op/s
Output for 5.3.22
29831465.14936 op/s
Output for 5.3.21
29161537.926719 op/s
Output for 5.3.20
32796184.220815 op/s
Output for 5.3.19
45329125.688966 op/s
Output for 5.3.18
31978530.039646 op/s
Output for 5.3.17
26204573.285018 op/s
Output for 5.3.16
17038934.026649 op/s
Output for 5.3.15
34999198.931909 op/s
Output for 5.3.14
40388098.218585 op/s
Output for 5.3.13
38150845.915954 op/s
Output for 5.3.12
25974139.212286 op/s
Output for 5.3.11
33978483.473752 op/s
Output for 5.3.10
27503632.786885 op/s
Output for 5.3.9
42829612.98887 op/s
Output for 5.3.8
25603125.381516 op/s
Output for 5.3.7
41068285.518457 op/s
Output for 5.3.6
24862501.481921 op/s
Output for 5.3.5
35063567.965223 op/s
Output for 5.3.4
18375921.139102 op/s
Output for 5.3.3
36915190.987502 op/s
Output for 5.3.2
23623227.259927 op/s
Output for 5.3.1
26867618.986612 op/s
Output for 5.3.0
25341695.365839 op/s
Output for 5.2.17
17565558.25446 op/s
Output for 5.2.16
18539179.632249 op/s
Output for 5.2.15
19436070.435589 op/s
Output for 5.2.14
17458081.165453 op/s
Output for 5.2.13
20492007.035372 op/s
Output for 5.2.12
23480400.828528 op/s
Output for 5.2.11
17512751.565762 op/s
Output for 5.2.10
24850716.909586 op/s
Output for 5.2.9
28878435.692647 op/s
Output for 5.2.8
20751553.532555 op/s
Output for 5.2.7
26623740.002539 op/s
Output for 5.2.6
16509757.921669 op/s
Output for 5.2.5
20496012.509773 op/s
Output for 5.2.4
17319668.001817 op/s
Output for 5.2.3
17105644.371941 op/s
Output for 5.2.2
29708910.610568 op/s
Output for 5.2.1
21145974.287875 op/s
Output for 5.2.0
18008260.701559 op/s
Output for 5.1.6
15880898.110636 op/s
Output for 5.1.5
16113346.13907 op/s
Output for 5.1.4
18790000.895977 op/s
Output for 5.1.3
16041243.737331 op/s
Output for 5.1.2
17506903.748226 op/s
Output for 5.1.0
16121397.547757 op/s
Output for 5.0.5
6995403.449081 op/s
Output for 5.0.4
13871429.043887 op/s
Output for 5.0.3
11701224.717534 op/s
Output for 5.0.2
11280469.044161 op/s
Output for 5.0.1
7775437.0353892 op/s
Output for 5.0.0
9171887.1637874 op/s
Output for 4.4.9
8307027.7454727 op/s
Output for 4.4.8
6858710.5624143 op/s
Output for 4.4.7
7684032.5802981 op/s
Output for 4.4.6
11538017.768547 op/s
Output for 4.4.5
12001920.307249 op/s
Output for 4.4.4
7531821.9477292 op/s
Output for 4.4.3
7420048.9723232 op/s
Output for 4.4.2
8837044.8921881 op/s
Output for 4.4.1
13392259.27414 op/s
Output for 4.4.0
7629510.9483482 op/s
Output for 4.3.11
9197093.718385 op/s
Output for 4.3.10
8630361.6121516 op/s
Output for 4.3.9
6878525.2441876 op/s
Output for 4.3.8
7797270.9551657 op/s
Output for 4.3.7
7590132.8273245 op/s
Output for 4.3.6
8493290.3006625 op/s
Output for 4.3.5
12043839.576057 op/s
Output for 4.3.4
8077544.4264943 op/s
Output for 4.3.3
8975049.3627715 op/s
Output for 4.3.2
10443864.229765 op/s
Output for 4.3.1
9370314.8425787 op/s
Output for 4.3.0
7674597.0836531 op/s