3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(true); for ($i = 0; $i < 10000000; ++$i) { } $end = microtime(true); echo $i/($end - $start), ' op/s';
Output for 7.1.0
120573444.14324 op/s
Output for 7.0.14
115791502.06085 op/s
Output for 7.0.10
183254208.55561 op/s
Output for 7.0.9
169276691.23167 op/s
Output for 7.0.8
157631415.76125 op/s
Output for 7.0.7
158881169.74128 op/s
Output for 7.0.6
156531331.98733 op/s
Output for 7.0.5
122946756.24656 op/s
Output for 7.0.4
157000658.80098 op/s
Output for 7.0.3
154904548.92952 op/s
Output for 7.0.2
156816343.01182 op/s
Output for 7.0.1
192697151.10055 op/s
Output for 7.0.0
176251996.03315 op/s
Output for 5.6.28
180515080.56741 op/s
Output for 5.6.25
55066412.316967 op/s
Output for 5.6.24
58048392.297866 op/s
Output for 5.6.23
53264858.535792 op/s
Output for 5.6.22
50200343.980285 op/s
Output for 5.6.21
54157997.151553 op/s
Output for 5.6.20
51893582.562842 op/s
Output for 5.6.19
57450788.898036 op/s
Output for 5.6.18
56426778.310225 op/s
Output for 5.6.17
49919651.135251 op/s
Output for 5.6.16
56202442.766503 op/s
Output for 5.6.15
54695875.676966 op/s
Output for 5.6.14
49436180.795542 op/s
Output for 5.6.13
51133648.598072 op/s
Output for 5.6.12
49040528.579763 op/s
Output for 5.6.11
45531762.453022 op/s
Output for 5.6.10
58293084.278408 op/s
Output for 5.6.9
56400600.809775 op/s
Output for 5.6.8
57121938.46422 op/s
Output for 5.6.7
49620174.095746 op/s
Output for 5.6.6
62964301.798421 op/s
Output for 5.6.5
58000229.550316 op/s
Output for 5.6.4
57780741.148919 op/s
Output for 5.6.3
58107098.277556 op/s
Output for 5.6.2
58093255.493459 op/s
Output for 5.6.1
69056477.650472 op/s
Output for 5.6.0
70183695.939547 op/s
Output for 5.5.38
57479841.030561 op/s
Output for 5.5.37
49098796.8506 op/s
Output for 5.5.36
48427311.763151 op/s
Output for 5.5.35
50050822.843191 op/s
Output for 5.5.34
53176191.369701 op/s
Output for 5.5.33
54813459.558074 op/s
Output for 5.5.32
51071510.762109 op/s
Output for 5.5.31
51228703.582696 op/s
Output for 5.5.30
57301974.8212 op/s
Output for 5.5.29
56528455.580399 op/s
Output for 5.5.28
49997484.81052 op/s
Output for 5.5.27
52247696.422276 op/s
Output for 5.5.26
41877627.146397 op/s
Output for 5.5.25
55731075.196951 op/s
Output for 5.5.24
53151056.417899 op/s
Output for 5.5.23
52794135.417086 op/s
Output for 5.5.22
56837854.465527 op/s
Output for 5.5.21
69398572.74988 op/s
Output for 5.5.20
68694104.10153 op/s
Output for 5.5.19
58626992.180839 op/s
Output for 5.5.18
46943299.424835 op/s
Output for 5.5.16
65465624.453712 op/s
Output for 5.5.15
56994330.874719 op/s
Output for 5.5.14
69316339.886563 op/s
Output for 5.5.13
60776973.07981 op/s
Output for 5.5.12
49451101.899143 op/s
Output for 5.5.11
49055441.262297 op/s
Output for 5.5.10
55568194.615019 op/s
Output for 5.5.9
52340671.394539 op/s
Output for 5.5.8
55915255.999723 op/s
Output for 5.5.7
49897677.915632 op/s
Output for 5.5.6
50255801.943707 op/s
Output for 5.5.5
56055072.723312 op/s
Output for 5.5.4
49625810.176695 op/s
Output for 5.5.3
51550128.067096 op/s
Output for 5.5.2
60867642.064996 op/s
Output for 5.5.1
53172820.693555 op/s
Output for 5.5.0
56289182.497131 op/s
Output for 5.4.45
54527991.346876 op/s
Output for 5.4.44
50992779.585887 op/s
Output for 5.4.43
55324702.390767 op/s
Output for 5.4.42
47444409.001342 op/s
Output for 5.4.41
43596162.901045 op/s
Output for 5.4.40
56033430.589845 op/s
Output for 5.4.39
52160499.431052 op/s
Output for 5.4.38
56346956.020587 op/s
Output for 5.4.37
58644534.17747 op/s
Output for 5.4.36
69276497.908973 op/s
Output for 5.4.35
57144507.630977 op/s
Output for 5.4.34
58701987.941353 op/s
Output for 5.4.32
68339633.462812 op/s
Output for 5.4.31
49470407.77693 op/s
Output for 5.4.30
68911364.786446 op/s
Output for 5.4.29
57034321.45771 op/s
Output for 5.4.28
46747099.137013 op/s
Output for 5.4.27
55511418.456143 op/s
Output for 5.4.26
49233947.597935 op/s
Output for 5.4.25
52700073.629005 op/s
Output for 5.4.24
49067205.735089 op/s
Output for 5.4.23
52137676.250238 op/s
Output for 5.4.22
53274803.885705 op/s
Output for 5.4.21
51763062.314804 op/s
Output for 5.4.20
55867515.407741 op/s
Output for 5.4.19
50343388.0781 op/s
Output for 5.4.18
51231081.356731 op/s
Output for 5.4.17
53873761.629094 op/s
Output for 5.4.16
52675651.270768 op/s
Output for 5.4.15
45934771.656993 op/s
Output for 5.4.14
52928511.307381 op/s
Output for 5.4.13
49838505.951313 op/s
Output for 5.4.12
54544371.634301 op/s
Output for 5.4.11
51780188.414868 op/s
Output for 5.4.10
46558009.583994 op/s
Output for 5.4.9
50300280.744927 op/s
Output for 5.4.8
54495331.07347 op/s
Output for 5.4.7
51561027.900436 op/s
Output for 5.4.6
56975827.101629 op/s
Output for 5.4.5
54014392.491591 op/s
Output for 5.4.4
55036642.50951 op/s
Output for 5.4.3
56793601.230574 op/s
Output for 5.4.2
47947341.767521 op/s
Output for 5.4.1
52796926.570513 op/s
Output for 5.4.0
55696070.750395 op/s
Output for 5.3.29
38188047.479398 op/s
Output for 5.3.28
37078392.042426 op/s
Output for 5.3.27
37755365.842242 op/s
Output for 5.3.26
44594305.228766 op/s
Output for 5.3.25
38548391.543864 op/s
Output for 5.3.24
43145638.378525 op/s
Output for 5.3.23
39971524.497223 op/s
Output for 5.3.22
39247520.305424 op/s
Output for 5.3.21
41626801.191349 op/s
Output for 5.3.20
41982209.401371 op/s
Output for 5.3.19
42679952.052132 op/s
Output for 5.3.18
43415925.264602 op/s
Output for 5.3.17
40052214.982874 op/s
Output for 5.3.16
41928742.298876 op/s
Output for 5.3.15
45941714.989233 op/s
Output for 5.3.14
43841967.121953 op/s
Output for 5.3.13
41932053.801904 op/s
Output for 5.3.12
42174323.992776 op/s
Output for 5.3.11
41620357.369316 op/s
Output for 5.3.10
42676521.372835 op/s
Output for 5.3.9
40896259.345785 op/s
Output for 5.3.8
37198517.843174 op/s
Output for 5.3.7
36514343.072397 op/s
Output for 5.3.6
40608640.086749 op/s
Output for 5.3.5
37146531.293286 op/s
Output for 5.3.4
38857159.79752 op/s
Output for 5.3.3
40002556.010487 op/s
Output for 5.3.2
39569950.904364 op/s
Output for 5.3.1
40291878.806509 op/s
Output for 5.3.0
40122635.887164 op/s
Output for 5.2.17
30917719.41955 op/s
Output for 5.2.16
27134689.969497 op/s
Output for 5.2.15
30209013.358993 op/s
Output for 5.2.14
28448360.878675 op/s
Output for 5.2.13
28876109.53951 op/s
Output for 5.2.12
29227703.122692 op/s
Output for 5.2.11
30420290.328079 op/s
Output for 5.2.10
28806478.996283 op/s
Output for 5.2.9
31131296.412441 op/s
Output for 5.2.8
31154582.080506 op/s
Output for 5.2.7
30679156.874405 op/s
Output for 5.2.6
30283499.144051 op/s
Output for 5.2.5
30574606.40052 op/s
Output for 5.2.4
27759897.59895 op/s
Output for 5.2.3
31746338.347236 op/s
Output for 5.2.2
31311057.362119 op/s
Output for 5.2.1
32622574.678815 op/s
Output for 5.2.0
31215190.589384 op/s
Output for 5.1.6
30039132.55221 op/s
Output for 5.1.5
29285496.839853 op/s
Output for 5.1.4
29825737.58951 op/s
Output for 5.1.3
30047439.132198 op/s
Output for 5.1.2
29044616.332777 op/s
Output for 5.1.1
28014582.022541 op/s
Output for 5.1.0
26689863.232319 op/s
Output for 5.0.5
13083918.801982 op/s
Output for 5.0.4
12684930.55398 op/s
Output for 5.0.3
14043662.110006 op/s
Output for 5.0.2
13974580.368171 op/s
Output for 5.0.1
14252364.093306 op/s
Output for 5.0.0
14595894.584494 op/s
Output for 4.4.9
13601833.527159 op/s
Output for 4.4.8
13366107.027765 op/s
Output for 4.4.7
15881359.889085 op/s
Output for 4.4.6
15653739.286972 op/s
Output for 4.4.5
13748784.95113 op/s
Output for 4.4.4
13742795.339543 op/s
Output for 4.4.3
13744589.785846 op/s
Output for 4.4.2
13323509.465687 op/s
Output for 4.4.1
13461776.631433 op/s
Output for 4.4.0
13352828.462889 op/s
Output for 4.3.11
12582573.136206 op/s
Output for 4.3.10
13322426.706669 op/s
Output for 4.3.9
13686537.237646 op/s
Output for 4.3.8
15669756.742696 op/s
Output for 4.3.7
15738514.032459 op/s
Output for 4.3.6
16535102.368819 op/s
Output for 4.3.5
16838078.303799 op/s
Output for 4.3.4
18156564.051819 op/s
Output for 4.3.3
16599273.615787 op/s
Output for 4.3.2
17806806.829979 op/s
Output for 4.3.1
17026841.112329 op/s
Output for 4.3.0
16625684.354732 op/s