3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand();
Output for 7.1.0
619634488
Output for 7.0.14
1390362906
Output for 7.0.7
361482230
Output for 7.0.6
1829287623
Output for 7.0.5
1914886309
Output for 7.0.4
322646253
Output for 7.0.3
1786701797
Output for 7.0.2
1878536461
Output for 7.0.1
775672259
Output for 7.0.0
1022150202
Output for hhvm-3.12.0
893719563
Output for hhvm-3.10.0
1998035606
Output for 5.6.22
1563810196
Output for 5.6.21
824051712
Output for 5.6.20
23403966
Output for 5.6.19
1490778130
Output for 5.6.18
1675973549
Output for 5.6.17
577973482
Output for 5.6.16
1127870852
Output for 5.6.15
1334618628
Output for 5.6.14
1278179699
Output for 5.6.13
1418975778
Output for 5.6.12
1593569291
Output for 5.6.11
2134812349
Output for 5.6.10
344463438
Output for 5.6.9
1525411169
Output for 5.6.8
1895778060
Output for 5.6.7
1997003421
Output for 5.6.6
1308699704
Output for 5.6.5
347239424
Output for 5.6.4
1943771764
Output for 5.6.3
7362926
Output for 5.6.2
462269583
Output for 5.6.1
502177614
Output for 5.6.0
1580379771
Output for 5.5.36
855378998
Output for 5.5.35
134547592
Output for 5.5.34
1458323962
Output for 5.5.33
1808407119
Output for 5.5.32
833755130
Output for 5.5.31
746022037
Output for 5.5.30
1968419260
Output for 5.5.29
195879638
Output for 5.5.28
1077857940
Output for 5.5.27
716890899
Output for 5.5.26
1354443539
Output for 5.5.25
1779356645
Output for 5.5.24
1829768291
Output for 5.5.23
1581656141
Output for 5.5.22
869916326
Output for 5.5.21
1489355292
Output for 5.5.20
478534318
Output for 5.5.19
279285903
Output for 5.5.18
2075880419
Output for 5.5.16
639065025
Output for 5.5.15
975267814
Output for 5.5.14
1135881330
Output for 5.5.13
127070248
Output for 5.5.12
1848389706
Output for 5.5.11
311020944
Output for 5.5.10
1818767499
Output for 5.5.9
618676392
Output for 5.5.8
741017325
Output for 5.5.7
1389200012
Output for 5.5.6
2064145255
Output for 5.5.5
1468528052
Output for 5.5.4
686639598
Output for 5.5.3
804673151
Output for 5.5.2
411967495
Output for 5.5.1
865461532
Output for 5.5.0
776973167
Output for 5.4.45
118681740
Output for 5.4.44
1481989203
Output for 5.4.43
931555752
Output for 5.4.42
1573235442
Output for 5.4.41
507197728
Output for 5.4.40
1727633240
Output for 5.4.39
1164854297
Output for 5.4.38
402358655
Output for 5.4.37
561443432
Output for 5.4.36
5489980
Output for 5.4.35
1005870215
Output for 5.4.34
705589934
Output for 5.4.32
684579829
Output for 5.4.31
682419642
Output for 5.4.30
831166876
Output for 5.4.29
428316720
Output for 5.4.28
563545201
Output for 5.4.27
1851177902
Output for 5.4.26
33641262
Output for 5.4.25
422547850
Output for 5.4.24
2127346885
Output for 5.4.23
51727091
Output for 5.4.22
1729887277
Output for 5.4.21
945261637
Output for 5.4.20
1641223269
Output for 5.4.19
834903733
Output for 5.4.18
1005142822
Output for 5.4.17
1249885811
Output for 5.4.16
1740087275
Output for 5.4.15
111186856
Output for 5.4.14
451031189
Output for 5.4.13
1817911344
Output for 5.4.12
188340293
Output for 5.4.11
2241436
Output for 5.4.10
1418679248
Output for 5.4.9
2001517274
Output for 5.4.8
600475180
Output for 5.4.7
405465543
Output for 5.4.6
1987772005
Output for 5.4.5
1280204634
Output for 5.4.4
1280086295
Output for 5.4.3
953736289
Output for 5.4.2
933179158
Output for 5.4.1
639126550
Output for 5.4.0
721034874
Output for 5.3.29
1137555549
Output for 5.3.28
1710507931
Output for 5.3.27
1198655478
Output for 5.3.26
444917142
Output for 5.3.25
144100324
Output for 5.3.24
1569808249
Output for 5.3.23
1241264494
Output for 5.3.22
1391749063
Output for 5.3.21
1014480394
Output for 5.3.20
919490644
Output for 5.3.19
1409106901
Output for 5.3.18
1816658503
Output for 5.3.17
1607886316
Output for 5.3.16
202670991
Output for 5.3.15
173344143
Output for 5.3.14
1753253257
Output for 5.3.13
2009836979
Output for 5.3.12
333749123
Output for 5.3.11
747355714
Output for 5.3.10
760347504
Output for 5.3.9
1207880014
Output for 5.3.8
829669303
Output for 5.3.7
167283562
Output for 5.3.6
730836245
Output for 5.3.5
27222007
Output for 5.3.4
364796065
Output for 5.3.3
852712661
Output for 5.3.2
2120563814
Output for 5.3.1
1133103333
Output for 5.3.0
220448542
Output for 5.2.17
550842638
Output for 5.2.16
753179353
Output for 5.2.15
1246304792
Output for 5.2.14
713708006
Output for 5.2.13
806095297
Output for 5.2.12
764552151
Output for 5.2.11
1035645625
Output for 5.2.10
971239109
Output for 5.2.9
1058802641
Output for 5.2.8
99268016
Output for 5.2.7
1841336548
Output for 5.2.6
33291820
Output for 5.2.5
1291592026
Output for 5.2.4
267419721
Output for 5.2.3
540429473
Output for 5.2.2
926707923
Output for 5.2.1
787123560
Output for 5.2.0
1651067929
Output for 5.1.6
2058499108
Output for 5.1.5
1082501118
Output for 5.1.4
2015052797
Output for 5.1.3
378853586
Output for 5.1.2
940177413
Output for 5.1.1
570766080
Output for 5.1.0
1907698162
Output for 5.0.5
979981557
Output for 5.0.4
1904535043
Output for 5.0.3
671749784
Output for 5.0.2
103294397
Output for 5.0.1
646859656
Output for 5.0.0
421994762
Output for 4.4.9
933883910
Output for 4.4.8
736080478
Output for 4.4.7
1003488072
Output for 4.4.6
521962213
Output for 4.4.5
158544551
Output for 4.4.4
1320438714
Output for 4.4.3
501953567
Output for 4.4.2
1580866606
Output for 4.4.1
1043487294
Output for 4.4.0
1490725133
Output for 4.3.11
1944783724
Output for 4.3.10
1418287356
Output for 4.3.9
1277074935
Output for 4.3.8
2091705891
Output for 4.3.7
1000138464
Output for 4.3.6
1369022673
Output for 4.3.5
1273060333
Output for 4.3.4
637278023
Output for 4.3.3
1509057522
Output for 4.3.2
251638803
Output for 4.3.1
212973050
Output for 4.3.0
1366433681