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; } $code = mt_rand_str(10, '0123456789'); echo $code; ?>
Output for 7.1.0
6476166870
Output for 7.0.14
5345711257
Output for 7.0.10
0964897295
Output for 7.0.9
2475058529
Output for 7.0.8
6361244120
Output for 7.0.7
1067510521
Output for 7.0.6
9977718887
Output for 7.0.5
0564556263
Output for 7.0.4
1759588627
Output for 7.0.3
7503016225
Output for 7.0.2
1896139554
Output for 7.0.1
4033373506
Output for 7.0.0
4256527712
Output for hhvm-3.12.0
9257659396
Output for hhvm-3.10.0
3325062877
Output for 5.6.28
0784451774
Output for 5.6.25
7068481840
Output for 5.6.24
6359735591
Output for 5.6.23
4948056163
Output for 5.6.22
0093105935
Output for 5.6.21
5082846642
Output for 5.6.20
8946513484
Output for 5.6.19
0206614790
Output for 5.6.18
5430235110
Output for 5.6.17
0073875311
Output for 5.6.16
7430289261
Output for 5.6.15
0378044560
Output for 5.6.14
3614043863
Output for 5.6.13
9100717234
Output for 5.6.12
7620022302
Output for 5.6.11
4905182279
Output for 5.6.10
0071271145
Output for 5.6.9
7955624133
Output for 5.6.8
5340725918
Output for 5.6.7
6096631787
Output for 5.6.6
4255809312
Output for 5.6.5
0875746262
Output for 5.6.4
9391683082
Output for 5.6.3
9033221423
Output for 5.6.2
2309661503
Output for 5.6.1
6982362618
Output for 5.6.0
8638474969
Output for 5.5.38
2805733292
Output for 5.5.37
0840315392
Output for 5.5.36
0715610024
Output for 5.5.35
6696391671
Output for 5.5.34
7335977675
Output for 5.5.33
9682895445
Output for 5.5.32
2071472830
Output for 5.5.31
3053357389
Output for 5.5.30
7919486613
Output for 5.5.29
7190329342
Output for 5.5.28
9183316360
Output for 5.5.27
0335225846
Output for 5.5.26
1956620268
Output for 5.5.25
8575005627
Output for 5.5.24
1354999846
Output for 5.5.23
6242003484
Output for 5.5.22
8504867478
Output for 5.5.21
9048296976
Output for 5.5.20
5426045805
Output for 5.5.19
6466457149
Output for 5.5.18
6579159312
Output for 5.5.16
6327027556
Output for 5.5.15
7485093109
Output for 5.5.14
9354310884
Output for 5.5.13
8808439179
Output for 5.5.12
6576125182
Output for 5.5.11
7130918792
Output for 5.5.10
3393611681
Output for 5.5.9
2170238141
Output for 5.5.8
7613431283
Output for 5.5.7
9303851263
Output for 5.5.6
0113125015
Output for 5.5.5
8357525618
Output for 5.5.4
3844214633
Output for 5.5.3
9756300883
Output for 5.5.2
9653343399
Output for 5.5.1
9586239289
Output for 5.5.0
0523340935
Output for 5.4.45
9952418321
Output for 5.4.44
9612376280
Output for 5.4.43
1958785805
Output for 5.4.42
8061753378
Output for 5.4.41
6047389988
Output for 5.4.40
5390172597
Output for 5.4.39
4249414326
Output for 5.4.38
9636005249
Output for 5.4.37
7789082781
Output for 5.4.36
5191735594
Output for 5.4.35
6575152771
Output for 5.4.34
8569024313
Output for 5.4.32
6507621134
Output for 5.4.31
7036428820
Output for 5.4.30
3948141424
Output for 5.4.29
3742899089
Output for 5.4.28
6585435866
Output for 5.4.27
5967120804
Output for 5.4.26
9959812173
Output for 5.4.25
6528530085
Output for 5.4.24
0856455753
Output for 5.4.23
2078044401
Output for 5.4.22
5452205917
Output for 5.4.21
2023973435
Output for 5.4.20
4190974946
Output for 5.4.19
0953606116
Output for 5.4.18
2482574701
Output for 5.4.17
4751223819
Output for 5.4.16
5390405731
Output for 5.4.15
1046338882
Output for 5.4.14
3247625339
Output for 5.4.13
4533114231
Output for 5.4.12
8364155545
Output for 5.4.11
4222484191
Output for 5.4.10
6048420727
Output for 5.4.9
0622671464
Output for 5.4.8
6943255946
Output for 5.4.7
7364380022
Output for 5.4.6
6784239655
Output for 5.4.5
3684792863
Output for 5.4.4
9087539230
Output for 5.4.3
3290555570
Output for 5.4.2
6951497393
Output for 5.4.1
2115732990
Output for 5.4.0
6260066954
Output for 5.3.29
7608925052
Output for 5.3.28
0282431757
Output for 5.3.27
6667300579
Output for 5.3.26
1086031960
Output for 5.3.25
9106075687
Output for 5.3.24
5967071222
Output for 5.3.23
8488344050
Output for 5.3.22
6139893929
Output for 5.3.21
3978449732
Output for 5.3.20
0238090596
Output for 5.3.19
3688871896
Output for 5.3.18
2527731032
Output for 5.3.17
5165294378
Output for 5.3.16
0030064510
Output for 5.3.15
5113330975
Output for 5.3.14
3011711388
Output for 5.3.13
1795775487
Output for 5.3.12
3759181237
Output for 5.3.11
0268209564
Output for 5.3.10
9740605099
Output for 5.3.9
2722298211
Output for 5.3.8
4880549403
Output for 5.3.7
8497626759
Output for 5.3.6
9338579204
Output for 5.3.5
8994846989
Output for 5.3.4
8854057773
Output for 5.3.3
6700511071
Output for 5.3.2
9018487369
Output for 5.3.1
1793665565
Output for 5.3.0
1559120085
Output for 5.2.17
9983673257
Output for 5.2.16
9092645985
Output for 5.2.15
1107350876
Output for 5.2.14
2181155584
Output for 5.2.13
4862436281
Output for 5.2.12
5803360070
Output for 5.2.11
6508594442
Output for 5.2.10
4010788899
Output for 5.2.9
3652086233
Output for 5.2.8
4356426449
Output for 5.2.7
9402331136
Output for 5.2.6
9280779535
Output for 5.2.5
1601565020
Output for 5.2.4
8940303841
Output for 5.2.3
8183049326
Output for 5.2.2
5206954369
Output for 5.2.1
6107468717
Output for 5.2.0
9605729748
Output for 5.1.6
3954498379
Output for 5.1.5
0627488477
Output for 5.1.4
9820659936
Output for 5.1.3
7824885097
Output for 5.1.2
1254156804
Output for 5.1.1
6858088335
Output for 5.1.0
4981977278
Output for 5.0.5
3009047866
Output for 5.0.4
7684464251
Output for 5.0.3
2881105986
Output for 5.0.2
2414396854
Output for 5.0.1
4522946538
Output for 5.0.0
5041448327
Output for 4.4.9
7042401568
Output for 4.4.8
2321597919
Output for 4.4.7
9454818437
Output for 4.4.6
2017746681
Output for 4.4.5
7134657689
Output for 4.4.4
1343937912
Output for 4.4.3
9556354614
Output for 4.4.2
2525746095
Output for 4.4.1
0624611319
Output for 4.4.0
7718262318
Output for 4.3.11
0078721992
Output for 4.3.10
1899445855
Output for 4.3.9
6607688685
Output for 4.3.8
8844919807
Output for 4.3.7
3060285854
Output for 4.3.6
8267361650
Output for 4.3.5
0523324619
Output for 4.3.4
5122349484
Output for 4.3.3
4069163325
Output for 4.3.2
1029606643
Output for 4.3.1
0318902811
Output for 4.3.0
2064772871