3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo rand();
Output for 7.2.2
405399488
Output for 7.2.1
633768179
Output for 7.2.0
32617764
Output for 7.1.14
1889561028
Output for 7.1.13
910160500
Output for 7.1.12
842129825
Output for 7.1.11
1351307565
Output for 7.1.10
46654197
Output for 7.1.9
2034212209
Output for 7.1.8
910945308
Output for 7.1.7
382203771
Output for 7.1.6
66301513
Output for 7.1.5
1111638993
Output for 7.1.4
1864151353
Output for 7.1.3
406092536
Output for 7.1.2
1290472711
Output for 7.1.1
1165195604
Output for 7.1.0
100099758
Output for 7.0.27
2058826549
Output for 7.0.26
354485604
Output for 7.0.25
816695774
Output for 7.0.24
2059286958
Output for 7.0.23
2428159
Output for 7.0.22
228446476
Output for 7.0.21
1068444492
Output for 7.0.20
2085168212
Output for 7.0.19
1761143107
Output for 7.0.18
323182786
Output for 7.0.17
13832116
Output for 7.0.16
999301724
Output for 7.0.15
972421816
Output for 7.0.14
982838477
Output for 7.0.13
566347874
Output for 7.0.12
30771366
Output for 7.0.11
979019444
Output for 7.0.10
905270682
Output for 7.0.9
1970547320
Output for 7.0.8
1762476197
Output for 7.0.7
1336342397
Output for 7.0.6
210414159
Output for 7.0.5
773374126
Output for 7.0.4
1012331816
Output for 7.0.3
233131319
Output for 7.0.2
274000844
Output for 7.0.1
588290234
Output for 7.0.0
2005164729
Output for hhvm-3.22.0
1677448490
Output for hhvm-3.21.3
1855100497
Output for hhvm-3.21.0
347300908
Output for hhvm-3.20.2
1536788646
Output for hhvm-3.19.2
1196174176
Output for hhvm-3.18.5
808086550
Output for hhvm-3.18.4
1703198455
Output for hhvm-3.17.3
377048918
Output for hhvm-3.15.4
1422975387
Output for hhvm-3.13.2
1911897054
Output for hhvm-3.12.14
165272625
Output for hhvm-3.11.1
658455973
Output for hhvm-3.10.1
1814518825
Output for 5.6.30
532874048
Output for 5.6.29
569927594
Output for 5.6.28
881536811
Output for 5.6.27
419934263
Output for 5.6.26
585985173
Output for 5.6.25
318697767
Output for 5.6.24
1421588153
Output for 5.6.23
440849535
Output for 5.6.22
1356530573
Output for 5.6.21
559760308
Output for 5.6.20
698112939
Output for 5.6.19
1193057716
Output for 5.6.18
107874868
Output for 5.6.17
1233949274
Output for 5.6.16
1534014439
Output for 5.6.15
1304178894
Output for 5.6.14
1379392818
Output for 5.6.13
1933453881
Output for 5.6.12
1322379559
Output for 5.6.11
1834114427
Output for 5.6.10
732770260
Output for 5.6.9
1710278395
Output for 5.6.8
92579459
Output for 5.6.7
1467984907
Output for 5.6.6
105310510
Output for 5.6.5
1402705421
Output for 5.6.4
1978109529
Output for 5.6.3
1017871431
Output for 5.6.2
1351301391
Output for 5.6.1
1578130391
Output for 5.6.0
151318152
Output for 5.5.38
418815052
Output for 5.5.37
511766725
Output for 5.5.36
269261240
Output for 5.5.35
1032529886
Output for 5.5.34
1903218718
Output for 5.5.33
31397454
Output for 5.5.32
853988989
Output for 5.5.31
1652062014
Output for 5.5.30
348255202
Output for 5.5.29
14436436
Output for 5.5.28
337142999
Output for 5.5.27
2078638995
Output for 5.5.26
1330765012
Output for 5.5.25
1235013547
Output for 5.5.24
1126576544
Output for 5.5.23
21544001
Output for 5.5.22
1497682250
Output for 5.5.21
116512037
Output for 5.5.20
2086206453
Output for 5.5.19
52500531
Output for 5.5.18
1974174496
Output for 5.5.16
1068317829
Output for 5.5.15
1464678968
Output for 5.5.14
64255475
Output for 5.5.13
1792377548
Output for 5.5.12
1621467145
Output for 5.5.11
1601960347
Output for 5.5.10
62503863
Output for 5.5.9
1433894843
Output for 5.5.8
1626544854
Output for 5.5.7
1018269197
Output for 5.5.6
1954557818
Output for 5.5.5
227500559
Output for 5.5.4
1311997082
Output for 5.5.3
1088042493
Output for 5.5.2
1517818742
Output for 5.5.1
1521878438
Output for 5.5.0
2095172808
Output for 5.4.45
1251600647
Output for 5.4.44
962252196
Output for 5.4.43
58433994
Output for 5.4.42
1492374974
Output for 5.4.41
1998751518
Output for 5.4.40
1290674658
Output for 5.4.39
1248782653
Output for 5.4.38
296901828
Output for 5.4.37
1829227407
Output for 5.4.36
743216606
Output for 5.4.35
1782679899
Output for 5.4.34
396954538
Output for 5.4.32
956249134
Output for 5.4.31
378804651
Output for 5.4.30
350121646
Output for 5.4.29
477014609
Output for 5.4.28
1115717077
Output for 5.4.27
732945090
Output for 5.4.26
811206865
Output for 5.4.25
1697126460
Output for 5.4.24
407603938
Output for 5.4.23
397763034
Output for 5.4.22
953633856
Output for 5.4.21
1587911627
Output for 5.4.20
108107609
Output for 5.4.19
1117577124
Output for 5.4.18
1059426332
Output for 5.4.17
1956551355
Output for 5.4.16
885081174
Output for 5.4.15
4614568
Output for 5.4.14
485054991
Output for 5.4.13
762254351
Output for 5.4.12
421361443
Output for 5.4.11
347120372
Output for 5.4.10
1057680553
Output for 5.4.9
1582136274
Output for 5.4.8
1172238574
Output for 5.4.7
299944603
Output for 5.4.6
1835932068
Output for 5.4.5
147021689
Output for 5.4.4
1222944039
Output for 5.4.3
439069541
Output for 5.4.2
1627608210
Output for 5.4.1
298328395
Output for 5.4.0
1741703178
Output for 5.3.29
1631996549
Output for 5.3.28
1527007836
Output for 5.3.27
420481062
Output for 5.3.26
219614234
Output for 5.3.25
1529354670
Output for 5.3.24
106893344
Output for 5.3.23
266572367
Output for 5.3.22
1308412688
Output for 5.3.21
849665804
Output for 5.3.20
801365827
Output for 5.3.19
1654007804
Output for 5.3.18
178341159
Output for 5.3.17
1609047646
Output for 5.3.16
1587973556
Output for 5.3.15
224877333
Output for 5.3.14
1177247916
Output for 5.3.13
1928623966
Output for 5.3.12
1255696662
Output for 5.3.11
10628063
Output for 5.3.10
836220795
Output for 5.3.9
1588295165
Output for 5.3.8
255194759
Output for 5.3.7
863947913
Output for 5.3.6
1694306811
Output for 5.3.5
2039699198
Output for 5.3.4
428047751
Output for 5.3.3
1967638428
Output for 5.3.2
1460102017
Output for 5.3.1
35846570
Output for 5.3.0
1511326643
Output for 5.2.17
950355023
Output for 5.2.16
878721859
Output for 5.2.15
860849323
Output for 5.2.14
765022638
Output for 5.2.13
1027406302
Output for 5.2.12
947730825
Output for 5.2.11
1606571978
Output for 5.2.10
451335875
Output for 5.2.9
1688134291
Output for 5.2.8
169902745
Output for 5.2.7
176701421
Output for 5.2.6
539038599
Output for 5.2.5
553233909
Output for 5.2.4
805635664
Output for 5.2.3
983455335
Output for 5.2.2
1108725502
Output for 5.2.1
845225620
Output for 5.2.0
1461328046
Output for 5.1.6
1689560370
Output for 5.1.5
2067805969
Output for 5.1.4
982608039
Output for 5.1.3
1364205784
Output for 5.1.2
1169910385
Output for 5.1.1
921022205
Output for 5.1.0
1079650807
Output for 5.0.5
130288151
Output for 5.0.4
13299946
Output for 5.0.3
53493300
Output for 5.0.2
600013133
Output for 5.0.1
958224325
Output for 5.0.0
1912789774
Output for 4.4.9
186115156
Output for 4.4.8
61542535
Output for 4.4.7
1678371404
Output for 4.4.6
1510131388
Output for 4.4.5
641947127
Output for 4.4.4
1361737141
Output for 4.4.3
1616210252
Output for 4.4.2
1959018455
Output for 4.4.1
1528127054
Output for 4.4.0
1232751825
Output for 4.3.11
415342249
Output for 4.3.10
753929683
Output for 4.3.9
582754863
Output for 4.3.8
2077353899
Output for 4.3.7
946466815
Output for 4.3.6
1305233181
Output for 4.3.5
182779355
Output for 4.3.4
1075821752
Output for 4.3.3
1499963870
Output for 4.3.2
130467631
Output for 4.3.1
51438783
Output for 4.3.0
1508051921