3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $value = base64_encode(md5('')); $start = microtime(true); for ($i = 0; $i < 10000000; ++$i) { } $end = microtime(true); echo $i/($end - $start), ' op/s';
Output for 7.1.0
118041674.64061 op/s
Output for 7.0.14
122512939.74693 op/s
Output for 7.0.6
136314130.27228 op/s
Output for 7.0.5
159428925.47219 op/s
Output for 7.0.4
147817401.99965 op/s
Output for 7.0.3
173586617.33423 op/s
Output for 7.0.2
138788648.87759 op/s
Output for 7.0.1
197976201.15265 op/s
Output for 7.0.0
193501693.13243 op/s
Output for 5.6.28
47626771.254773 op/s
Output for 5.6.21
57160472.459616 op/s
Output for 5.6.20
51320470.293426 op/s
Output for 5.6.19
54271170.562676 op/s
Output for 5.6.18
58021812.628306 op/s
Output for 5.6.17
56177827.305213 op/s
Output for 5.6.16
47325832.909267 op/s
Output for 5.6.15
53248156.000457 op/s
Output for 5.6.14
60051771.928619 op/s
Output for 5.6.13
52008570.748353 op/s
Output for 5.6.12
57992210.194773 op/s
Output for 5.6.11
53293554.539344 op/s
Output for 5.6.10
55337914.146692 op/s
Output for 5.6.9
52980927.490612 op/s
Output for 5.6.8
52374134.497119 op/s
Output for 5.5.35
43314238.859578 op/s
Output for 5.5.34
52295511.814263 op/s
Output for 5.5.33
51846499.008016 op/s
Output for 5.5.32
59555763.810497 op/s
Output for 5.5.31
50950781.516678 op/s
Output for 5.5.30
57801762.867333 op/s
Output for 5.5.29
53896121.919252 op/s
Output for 5.5.28
54276788.972543 op/s
Output for 5.5.27
50846088.383832 op/s
Output for 5.5.26
51154290.843631 op/s
Output for 5.5.25
54210495.704446 op/s
Output for 5.5.24
58336622.701788 op/s
Output for 5.4.45
36301465.541639 op/s
Output for 5.4.44
38345468.175751 op/s
Output for 5.4.43
40677837.228676 op/s
Output for 5.4.42
37396320.55436 op/s
Output for 5.4.41
39606793.66866 op/s
Output for 5.4.40
40573364.365741 op/s
Output for 5.4.39
40625789.404353 op/s
Output for 5.4.38
29681432.474682 op/s
Output for 5.4.37
37959597.769651 op/s
Output for 5.4.36
34790698.600344 op/s
Output for 5.4.35
40986457.078251 op/s
Output for 5.4.34
39274973.242703 op/s
Output for 5.4.32
52654027.603072 op/s
Output for 5.4.31
55531556.293451 op/s
Output for 5.4.30
54067797.702607 op/s
Output for 5.4.29
55466858.507608 op/s
Output for 5.4.28
55272136.902613 op/s
Output for 5.4.27
52841558.624808 op/s
Output for 5.4.26
23286087.210458 op/s
Output for 5.4.25
25694063.104554 op/s
Output for 5.4.24
27510614.168973 op/s
Output for 5.4.23
28953290.833848 op/s
Output for 5.4.22
28488648.836628 op/s
Output for 5.4.21
33407731.967385 op/s
Output for 5.4.20
40433456.887119 op/s
Output for 5.4.19
35388967.778461 op/s
Output for 5.4.18
32320512.405585 op/s
Output for 5.4.17
24988316.99142 op/s
Output for 5.4.16
44699525.648144 op/s
Output for 5.4.15
41112324.373705 op/s
Output for 5.4.14
27446292.532454 op/s
Output for 5.4.13
39775211.426816 op/s
Output for 5.4.12
43954715.462576 op/s
Output for 5.4.11
38129377.765293 op/s
Output for 5.4.10
41294469.068805 op/s
Output for 5.4.9
39788493.098705 op/s
Output for 5.4.8
49141480.651798 op/s
Output for 5.4.7
51970163.3088 op/s
Output for 5.4.6
50885938.349251 op/s
Output for 5.4.5
43587011.305406 op/s
Output for 5.4.4
31134716.552834 op/s
Output for 5.4.3
36972005.916503 op/s
Output for 5.4.2
34645230.141974 op/s
Output for 5.4.1
35376550.774829 op/s
Output for 5.4.0
34331561.219771 op/s
Output for 5.3.29
42108315.136912 op/s
Output for 5.3.28
39748938.351913 op/s
Output for 5.3.27
40136304.263575 op/s
Output for 5.3.26
39375187.168788 op/s
Output for 5.3.25
34374412.997405 op/s
Output for 5.3.24
31917984.183708 op/s
Output for 5.3.23
30871728.213051 op/s
Output for 5.3.22
22609755.019444 op/s
Output for 5.3.21
43023356.481244 op/s
Output for 5.3.20
43503059.721617 op/s
Output for 5.3.19
42769605.393841 op/s
Output for 5.3.18
39621684.73476 op/s
Output for 5.3.17
37352892.457471 op/s
Output for 5.3.16
41892182.889972 op/s
Output for 5.3.15
34711864.40678 op/s
Output for 5.3.14
39114731.961339 op/s
Output for 5.3.13
34677569.108279 op/s
Output for 5.3.12
33293834.498612 op/s
Output for 5.3.11
27491320.280818 op/s
Output for 5.3.10
42718987.692446 op/s
Output for 5.3.9
39461577.614846 op/s
Output for 5.3.8
40126320.824663 op/s
Output for 5.3.7
35187350.250673 op/s
Output for 5.3.6
34416072.798585 op/s
Output for 5.3.5
26210189.988233 op/s
Output for 5.3.4
26482000.616227 op/s
Output for 5.3.3
25715928.863885 op/s
Output for 5.3.2
26114902.222532 op/s
Output for 5.3.1
24851629.81458 op/s
Output for 5.3.0
27655712.000549 op/s
Output for 5.2.17
24578717.100367 op/s
Output for 5.2.16
24409116.964969 op/s
Output for 5.2.15
23759010.237613 op/s
Output for 5.2.14
25394890.99576 op/s
Output for 5.2.13
24977082.180793 op/s
Output for 5.2.12
25205805.448603 op/s
Output for 5.2.11
22701830.845189 op/s
Output for 5.2.10
26445433.922102 op/s
Output for 5.2.9
27304497.950033 op/s
Output for 5.2.8
25266434.943947 op/s
Output for 5.2.7
25959654.663827 op/s
Output for 5.2.6
28368375.274093 op/s
Output for 5.2.5
27617525.651688 op/s
Output for 5.2.4
26870235.267286 op/s
Output for 5.2.3
25747643.500173 op/s
Output for 5.2.2
23284031.831417 op/s
Output for 5.2.1
18621455.12084 op/s
Output for 5.2.0
22152760.575803 op/s
Output for 5.1.6
17273511.626652 op/s
Output for 5.1.5
15968756.198676 op/s
Output for 5.1.4
19559290.339278 op/s
Output for 5.1.3
16164360.438341 op/s
Output for 5.1.2
20129435.269647 op/s
Output for 5.1.1
20705649.11257 op/s
Output for 5.1.0
24479563.905474 op/s
Output for 5.0.5
9498119.4226087 op/s
Output for 5.0.4
6716656.2764077 op/s
Output for 5.0.3
10127895.863607 op/s
Output for 5.0.2
10437922.998896 op/s
Output for 5.0.1
11317622.208779 op/s
Output for 5.0.0
9999289.5631099 op/s
Output for 4.4.9
-130403599.13934 op/s
Output for 4.4.8
71884524.699523 op/s
Output for 4.4.7
-465462669.89388 op/s
Output for 4.4.6
-15211924.932193 op/s
Output for 4.4.5
14763743.199451 op/s
Output for 4.4.4
-15705342.64346 op/s
Output for 4.4.3
50897319.747142 op/s
Output for 4.4.2
-416406412.65875 op/s
Output for 4.4.1
23748512.749389 op/s
Output for 4.4.0
-32150309.125222 op/s
Output for 4.3.11
37788753.31124 op/s
Output for 4.3.10
-15735443.14155 op/s
Output for 4.3.9
168517551.10295 op/s
Output for 4.3.8
53073767.229072 op/s
Output for 4.3.7
-128008192.52432 op/s
Output for 4.3.6
-104437551.56604 op/s
Output for 4.3.5
-565035597.24262 op/s
Output for 4.3.4
-101953427.67424 op/s
Output for 4.3.3
54774711.611143 op/s
Output for 4.3.2
76505240.608982 op/s
Output for 4.3.1
107856249.19108 op/s
Output for 4.3.0
54166779.514124 op/s