3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo(mt_rand()); ?>
Output for 7.1.0
863301472
Output for 7.0.14
1514204995
Output for 7.0.6
1779498317
Output for 7.0.5
1309846619
Output for 7.0.4
1653400019
Output for 7.0.3
1119277454
Output for 7.0.2
1877732625
Output for 7.0.1
898966508
Output for 7.0.0
1477531847
Output for hhvm-3.12.0
1033823244
Output for hhvm-3.10.0
1537081127
Output for 5.6.28
985894529
Output for 5.6.21
1560897947
Output for 5.6.20
978951961
Output for 5.6.19
572282982
Output for 5.6.18
988930866
Output for 5.6.17
1272535732
Output for 5.6.16
1151449110
Output for 5.6.15
892174548
Output for 5.6.14
1937744462
Output for 5.6.13
1810403568
Output for 5.6.12
275842872
Output for 5.6.11
308960906
Output for 5.6.10
141266074
Output for 5.6.9
1564432989
Output for 5.6.8
171903818
Output for 5.5.35
1032108524
Output for 5.5.34
1490287347
Output for 5.5.33
1395319809
Output for 5.5.32
499875000
Output for 5.5.31
1393651324
Output for 5.5.30
1028976324
Output for 5.5.29
978450986
Output for 5.5.28
2125870467
Output for 5.5.27
259959285
Output for 5.5.26
1118605991
Output for 5.5.25
1949908595
Output for 5.5.24
1618172122
Output for 5.4.45
1131148790
Output for 5.4.44
670768613
Output for 5.4.43
945813083
Output for 5.4.42
2054021384
Output for 5.4.41
2137292208
Output for 5.4.40
1250100
Output for 5.4.39
356726329
Output for 5.4.38
1521930424
Output for 5.4.37
872435304
Output for 5.4.36
1173732054
Output for 5.4.35
732159353
Output for 5.4.34
910873973
Output for 5.4.32
1124809394
Output for 5.4.31
1663758383
Output for 5.4.30
1743807814
Output for 5.4.29
1333546196
Output for 5.4.28
1662843116
Output for 5.4.27
798247512
Output for 5.4.26
1650802922
Output for 5.4.25
1815088654
Output for 5.4.24
873412730
Output for 5.4.23
1918565185
Output for 5.4.22
140607408
Output for 5.4.21
1299142148
Output for 5.4.20
501274294
Output for 5.4.19
718394977
Output for 5.4.18
885561533
Output for 5.4.17
1101148210
Output for 5.4.16
964208364
Output for 5.4.15
1678955654
Output for 5.4.14
1558288851
Output for 5.4.13
1772511007
Output for 5.4.12
1145299229
Output for 5.4.11
1003148044
Output for 5.4.10
1244007446
Output for 5.4.9
426276326
Output for 5.4.8
746313939
Output for 5.4.7
274488831
Output for 5.4.6
2076216906
Output for 5.4.5
1338320186
Output for 5.4.4
1573566479
Output for 5.4.3
1583995325
Output for 5.4.2
370814346
Output for 5.4.1
2054492769
Output for 5.4.0
1895259598
Output for 5.3.29
1014374546
Output for 5.3.28
605539273
Output for 5.3.27
1128153774
Output for 5.3.26
991850470
Output for 5.3.25
184059933
Output for 5.3.24
2037630926
Output for 5.3.23
1369759600
Output for 5.3.22
1754814099
Output for 5.3.21
2102569016
Output for 5.3.20
585595642
Output for 5.3.19
1781589621
Output for 5.3.18
1411474799
Output for 5.3.17
1277604399
Output for 5.3.16
284455782
Output for 5.3.15
649660932
Output for 5.3.14
335153939
Output for 5.3.13
988749796
Output for 5.3.12
461419665
Output for 5.3.11
616384810
Output for 5.3.10
1572910493
Output for 5.3.9
670907442
Output for 5.3.8
498115806
Output for 5.3.7
1971078857
Output for 5.3.6
2001516585
Output for 5.3.5
1712168355
Output for 5.3.4
72007959
Output for 5.3.3
1930591301
Output for 5.3.2
305390679
Output for 5.3.1
1516036589
Output for 5.3.0
334052634
Output for 5.2.17
1146085152
Output for 5.2.16
1940203067
Output for 5.2.15
211752206
Output for 5.2.14
245567226
Output for 5.2.13
1561699987
Output for 5.2.12
550082264
Output for 5.2.11
2141842315
Output for 5.2.10
1615229511
Output for 5.2.9
1852209314
Output for 5.2.8
1606214591
Output for 5.2.7
2080495512
Output for 5.2.6
971758328
Output for 5.2.5
1275062164
Output for 5.2.4
1572200667
Output for 5.2.3
1772128191
Output for 5.2.2
1940092298
Output for 5.2.1
1893684114
Output for 5.2.0
1743613434
Output for 5.1.6
246712702
Output for 5.1.5
604636286
Output for 5.1.4
956065430
Output for 5.1.3
1997810160
Output for 5.1.2
697455037
Output for 5.1.1
1030746438
Output for 5.1.0
674696749
Output for 5.0.5
829161876
Output for 5.0.4
208745615
Output for 5.0.3
426277976
Output for 5.0.2
1251113206
Output for 5.0.1
323961581
Output for 5.0.0
1545175190
Output for 4.4.9
1553486844
Output for 4.4.8
1907534817
Output for 4.4.7
347087288
Output for 4.4.6
446403664
Output for 4.4.5
1104278497
Output for 4.4.4
646499670
Output for 4.4.3
72942355
Output for 4.4.2
1942626748
Output for 4.4.1
1104187211
Output for 4.4.0
1243172835
Output for 4.3.11
985176490
Output for 4.3.10
484014010
Output for 4.3.9
596433736
Output for 4.3.8
1315943817
Output for 4.3.7
1760224130
Output for 4.3.6
1669031010
Output for 4.3.5
404584314
Output for 4.3.4
1240554270
Output for 4.3.3
1737106676
Output for 4.3.2
26309410
Output for 4.3.1
43883610
Output for 4.3.0
1284678371