3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 1000000; $i++){ $r = mt_rand(); } echo $r;
Output for 7.1.0
1593889538
Output for 7.0.14
1323263456
Output for 7.0.12
690409862
Output for 7.0.6
2134493704
Output for 7.0.5
136930996
Output for 7.0.4
2065097687
Output for 7.0.3
1720983977
Output for 7.0.2
1051258928
Output for 7.0.1
600911867
Output for 7.0.0
1844487426
Output for hhvm-3.12.0
1879734168
Output for hhvm-3.10.0
1674034365
Output for 5.6.28
516931056
Output for 5.6.21
139890530
Output for 5.6.20
1787730299
Output for 5.6.19
282247240
Output for 5.6.18
1606045868
Output for 5.6.17
1938876083
Output for 5.6.16
1062270182
Output for 5.6.15
1582871770
Output for 5.6.14
1205474075
Output for 5.6.13
57495871
Output for 5.6.12
623613795
Output for 5.6.11
1936675834
Output for 5.6.10
752508642
Output for 5.6.9
645704657
Output for 5.6.8
78946551
Output for 5.6.7
1595949021
Output for 5.5.35
165297767
Output for 5.5.34
436380585
Output for 5.5.33
2010142957
Output for 5.5.32
88239495
Output for 5.5.31
1726265551
Output for 5.5.30
175693532
Output for 5.5.29
1024971308
Output for 5.5.28
1669734481
Output for 5.5.27
1670178010
Output for 5.5.26
1420173156
Output for 5.5.25
1113956848
Output for 5.5.24
1930496786
Output for 5.4.45
523157065
Output for 5.4.44
1425843179
Output for 5.4.43
1661901345
Output for 5.4.42
882558602
Output for 5.4.41
1877762679
Output for 5.4.40
148128912
Output for 5.4.39
2075986685
Output for 5.4.38
1053917915
Output for 5.4.37
1668646206
Output for 5.4.36
1876227519
Output for 5.4.35
478575449
Output for 5.4.34
1345661728
Output for 5.4.32
478318525
Output for 5.4.31
144260301
Output for 5.4.30
1249539586
Output for 5.4.29
15510268
Output for 5.4.28
1097396870
Output for 5.4.27
1433447092
Output for 5.4.26
2036675322
Output for 5.4.25
1762923870
Output for 5.4.24
901480125
Output for 5.4.23
191114275
Output for 5.4.22
537676969
Output for 5.4.21
442873857
Output for 5.4.20
1347051502
Output for 5.4.19
1188622584
Output for 5.4.18
1730590884
Output for 5.4.17
1216360940
Output for 5.4.16
724275553
Output for 5.4.15
1503501664
Output for 5.4.14
1814717756
Output for 5.4.13
1524441967
Output for 5.4.12
1199883710
Output for 5.4.11
1897383834
Output for 5.4.10
982826066
Output for 5.4.9
538318054
Output for 5.4.8
860948248
Output for 5.4.7
8574332
Output for 5.4.6
46185720
Output for 5.4.5
1736391743
Output for 5.4.4
1717723741
Output for 5.4.3
359838083
Output for 5.4.2
2085124981
Output for 5.4.1
1691768728
Output for 5.4.0
15279223
Output for 5.3.29
1528132526
Output for 5.3.28
450532700
Output for 5.3.27
1654171018
Output for 5.3.26
1852452584
Output for 5.3.25
600116758
Output for 5.3.24
367258161
Output for 5.3.23
1616731400
Output for 5.3.22
757653411
Output for 5.3.21
1536962882
Output for 5.3.20
1551278512
Output for 5.3.19
706121230
Output for 5.3.18
1494375810
Output for 5.3.17
789206133
Output for 5.3.16
1276365344
Output for 5.3.15
522780944
Output for 5.3.14
591948195
Output for 5.3.13
2146143777
Output for 5.3.12
1777096432
Output for 5.3.11
619149434
Output for 5.3.10
218764037
Output for 5.3.9
464948593
Output for 5.3.8
42474330
Output for 5.3.7
1072545079
Output for 5.3.6
313286575
Output for 5.3.5
1817604427
Output for 5.3.4
1771356951
Output for 5.3.3
878886094
Output for 5.3.2
325790257
Output for 5.3.1
1871932180
Output for 5.3.0
1388899489
Output for 5.2.17
1725069098
Output for 5.2.16
370420309
Output for 5.2.15
542748094
Output for 5.2.14
197203472
Output for 5.2.13
14794237
Output for 5.2.12
1676114629
Output for 5.2.11
2030818321
Output for 5.2.10
83824311
Output for 5.2.9
21611440
Output for 5.2.8
1853724211
Output for 5.2.7
1505742442
Output for 5.2.6
1730776665
Output for 5.2.5
1302738393
Output for 5.2.4
153707184
Output for 5.2.3
1236074357
Output for 5.2.2
2082154876
Output for 5.2.1
1740274457
Output for 5.2.0
1138157188
Output for 5.1.6
1567031757
Output for 5.1.5
1955220458
Output for 5.1.4
578433516
Output for 5.1.3
1676377350
Output for 5.1.2
2019075044
Output for 5.1.1
1180431772
Output for 5.1.0
1829617228
Output for 5.0.5
1770397101
Output for 5.0.4
222350933
Output for 5.0.3
112296008
Output for 5.0.2
167140659
Output for 5.0.1
259847660
Output for 5.0.0
73737969
Output for 4.4.9
1106405127
Output for 4.4.8
1942075914
Output for 4.4.7
1343135846
Output for 4.4.6
900047526
Output for 4.4.5
258151479
Output for 4.4.4
133785205
Output for 4.4.3
2126882738
Output for 4.4.2
575208283
Output for 4.4.1
1811908692
Output for 4.4.0
2089202808
Output for 4.3.11
478111052
Output for 4.3.10
1101323734
Output for 4.3.9
514875530
Output for 4.3.8
668730684
Output for 4.3.7
1624985821
Output for 4.3.6
1381307722
Output for 4.3.5
1167154580
Output for 4.3.4
1327689725
Output for 4.3.3
1750757665
Output for 4.3.2
1958859361
Output for 4.3.1
1138785989
Output for 4.3.0
254659371