3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function mt_rand_str ($l, $c = '1234567890') { for ($s = '', $cl = strlen($c)-1, $i = 0; $i < $l; $s .= $c[mt_rand(0, $cl)], ++$i); return $s; } echo mt_rand_str(8, '0123456789'); ?>
Output for 7.1.0
82347951
Output for 7.0.14
04795049
Output for 7.0.10
42078302
Output for 7.0.9
15162969
Output for 7.0.8
78899793
Output for 7.0.7
56736666
Output for 7.0.6
05128243
Output for 7.0.5
26099329
Output for 7.0.4
22466695
Output for 7.0.3
40682796
Output for 7.0.2
71148016
Output for 7.0.1
13272266
Output for 7.0.0
01785562
Output for hhvm-3.12.0
58940115
Output for hhvm-3.10.0
54624634
Output for 5.6.28
99241967
Output for 5.6.25
94931115
Output for 5.6.24
08623107
Output for 5.6.23
18240563
Output for 5.6.22
25439876
Output for 5.6.21
31025532
Output for 5.6.20
77287327
Output for 5.6.19
75225869
Output for 5.6.18
25092529
Output for 5.6.17
15525306
Output for 5.6.16
80683031
Output for 5.6.15
77301572
Output for 5.6.14
58093650
Output for 5.6.13
88162757
Output for 5.6.12
16212121
Output for 5.6.11
15356828
Output for 5.6.10
48095295
Output for 5.6.9
66805822
Output for 5.6.8
42483725
Output for 5.6.7
46629240
Output for 5.6.6
88238908
Output for 5.6.5
09919098
Output for 5.6.4
70429871
Output for 5.6.3
26125925
Output for 5.6.2
97956113
Output for 5.6.1
80413506
Output for 5.6.0
91329912
Output for 5.5.38
15606980
Output for 5.5.37
75152801
Output for 5.5.36
83561084
Output for 5.5.35
85293944
Output for 5.5.34
99783880
Output for 5.5.33
03020691
Output for 5.5.32
30736598
Output for 5.5.31
66743858
Output for 5.5.30
80342947
Output for 5.5.29
80067462
Output for 5.5.28
11414939
Output for 5.5.27
94964878
Output for 5.5.26
00470827
Output for 5.5.25
26104465
Output for 5.5.24
05061081
Output for 5.5.23
07266678
Output for 5.5.22
18256128
Output for 5.5.21
69606969
Output for 5.5.20
25740624
Output for 5.5.19
40723747
Output for 5.5.18
60355464
Output for 5.5.16
94717386
Output for 5.5.15
79776995
Output for 5.5.14
11571324
Output for 5.5.13
45863867
Output for 5.5.12
58000201
Output for 5.5.11
64375699
Output for 5.5.10
40811912
Output for 5.5.9
43122206
Output for 5.5.8
98172660
Output for 5.5.7
11105161
Output for 5.5.6
45513344
Output for 5.5.5
19098537
Output for 5.5.4
31600218
Output for 5.5.3
67545899
Output for 5.5.2
52236389
Output for 5.5.1
36283776
Output for 5.5.0
83804552
Output for 5.4.45
57501097
Output for 5.4.44
72929521
Output for 5.4.43
57586873
Output for 5.4.42
89264340
Output for 5.4.41
80202531
Output for 5.4.40
18331015
Output for 5.4.39
66479544
Output for 5.4.38
83368598
Output for 5.4.37
81444155
Output for 5.4.36
77452674
Output for 5.4.35
44991817
Output for 5.4.34
46785810
Output for 5.4.32
93439155
Output for 5.4.31
61331255
Output for 5.4.30
60801200
Output for 5.4.29
89164463
Output for 5.4.28
73293176
Output for 5.4.27
35978936
Output for 5.4.26
10105506
Output for 5.4.25
72867534
Output for 5.4.24
85868930
Output for 5.4.23
02475472
Output for 5.4.22
31259565
Output for 5.4.21
27008260
Output for 5.4.20
05022895
Output for 5.4.19
54892155
Output for 5.4.18
11610570
Output for 5.4.17
10458014
Output for 5.4.16
10942771
Output for 5.4.15
38537013
Output for 5.4.14
57573459
Output for 5.4.13
27235837
Output for 5.4.12
11245325
Output for 5.4.11
40539505
Output for 5.4.10
35532791
Output for 5.4.9
56509717
Output for 5.4.8
46876179
Output for 5.4.7
64830915
Output for 5.4.6
69171838
Output for 5.4.5
89519421
Output for 5.4.4
87264637
Output for 5.4.3
38469518
Output for 5.4.2
12418865
Output for 5.4.1
00847259
Output for 5.4.0
49472852
Output for 5.3.29
06521866
Output for 5.3.28
91302992
Output for 5.3.27
28430418
Output for 5.3.26
87296011
Output for 5.3.25
93555185
Output for 5.3.24
46583494
Output for 5.3.23
99626400
Output for 5.3.22
82840870
Output for 5.3.21
07827468
Output for 5.3.20
99018630
Output for 5.3.19
79886848
Output for 5.3.18
97021741
Output for 5.3.17
13743385
Output for 5.3.16
22900549
Output for 5.3.15
05192659
Output for 5.3.14
38849831
Output for 5.3.13
09842144
Output for 5.3.12
43556647
Output for 5.3.11
99300657
Output for 5.3.10
75172414
Output for 5.3.9
46192647
Output for 5.3.8
09278270
Output for 5.3.7
42023351
Output for 5.3.6
38135719
Output for 5.3.5
57587474
Output for 5.3.4
03108147
Output for 5.3.3
16909693
Output for 5.3.2
46750665
Output for 5.3.1
11259163
Output for 5.3.0
24320206
Output for 5.2.17
12447411
Output for 5.2.16
33660393
Output for 5.2.15
37893602
Output for 5.2.14
59474957
Output for 5.2.13
66684196
Output for 5.2.12
37311843
Output for 5.2.11
27536281
Output for 5.2.10
03182058
Output for 5.2.9
36700962
Output for 5.2.8
42153654
Output for 5.2.7
22258030
Output for 5.2.6
47845989
Output for 5.2.5
29972743
Output for 5.2.4
16567952
Output for 5.2.3
40260609
Output for 5.2.2
08934801
Output for 5.2.1
14418680
Output for 5.2.0
11512341
Output for 5.1.6
88499898
Output for 5.1.5
01215479
Output for 5.1.4
46964338
Output for 5.1.3
41638142
Output for 5.1.2
85280258
Output for 5.1.1
29739880
Output for 5.1.0
84079081
Output for 5.0.5
73964496
Output for 5.0.4
94593166
Output for 5.0.3
08277455
Output for 5.0.2
93504850
Output for 5.0.1
01112542
Output for 5.0.0
15003767
Output for 4.4.9
18332000
Output for 4.4.8
97357237
Output for 4.4.7
92324862
Output for 4.4.6
82701755
Output for 4.4.5
06666276
Output for 4.4.4
01066255
Output for 4.4.3
05139365
Output for 4.4.2
44477919
Output for 4.4.1
48149879
Output for 4.4.0
69301075
Output for 4.3.11
49514793
Output for 4.3.10
74135807
Output for 4.3.9
79830076
Output for 4.3.8
78265694
Output for 4.3.7
37771589
Output for 4.3.6
11885032
Output for 4.3.5
39640915
Output for 4.3.4
91994422
Output for 4.3.3
37270562
Output for 4.3.2
85904598
Output for 4.3.1
61509367
Output for 4.3.0
76754474