3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo rand();
Output for 7.2.0
296162939
Output for 7.1.12
1488331822
Output for 7.1.11
1472913437
Output for 7.1.10
1980245630
Output for 7.1.9
778760370
Output for 7.1.8
846523198
Output for 7.1.7
1735449800
Output for 7.1.6
1399774660
Output for 7.1.5
1107640338
Output for 7.1.4
565065958
Output for 7.1.3
2043603189
Output for 7.1.2
413268470
Output for 7.1.1
291575553
Output for 7.1.0
1494881515
Output for 7.0.26
805598556
Output for 7.0.25
26265072
Output for 7.0.24
1667051936
Output for 7.0.23
433843915
Output for 7.0.22
515422898
Output for 7.0.21
587278661
Output for 7.0.20
151774114
Output for 7.0.19
1134058028
Output for 7.0.18
573380938
Output for 7.0.17
1829522867
Output for 7.0.16
1254460998
Output for 7.0.15
1439849743
Output for 7.0.14
1714057598
Output for 7.0.13
1006679398
Output for 7.0.12
139240442
Output for 7.0.11
1880344736
Output for 7.0.10
1687002589
Output for 7.0.9
1752454942
Output for 7.0.8
961952481
Output for 7.0.7
1337549873
Output for 7.0.6
322378476
Output for 7.0.5
160793982
Output for 7.0.4
976702872
Output for 7.0.3
169284842
Output for 7.0.2
2017231726
Output for 7.0.1
1949705279
Output for 7.0.0
1350198328
Output for hhvm-3.22.0
743119162
Output for hhvm-3.21.3
1104696262
Output for hhvm-3.21.0
1098232783
Output for hhvm-3.20.2
1454867744
Output for hhvm-3.19.2
1538121202
Output for hhvm-3.18.5
488751823
Output for hhvm-3.18.4
1140083877
Output for hhvm-3.17.3
519632974
Output for hhvm-3.15.4
2139145896
Output for hhvm-3.13.2
558330544
Output for hhvm-3.12.14
1928330755
Output for hhvm-3.11.1
1086982903
Output for hhvm-3.10.1
1570837838
Output for 5.6.30
823693241
Output for 5.6.29
845473630
Output for 5.6.28
1749682840
Output for 5.6.27
506557985
Output for 5.6.26
751980268
Output for 5.6.25
16910471
Output for 5.6.24
369520088
Output for 5.6.23
1290993158
Output for 5.6.22
1607865934
Output for 5.6.21
930472341
Output for 5.6.20
287678444
Output for 5.6.19
657854706
Output for 5.6.18
102576782
Output for 5.6.17
1424312578
Output for 5.6.16
599945212
Output for 5.6.15
182360935
Output for 5.6.14
1513860437
Output for 5.6.13
1736687148
Output for 5.6.12
176327554
Output for 5.6.11
359324936
Output for 5.6.10
2678245
Output for 5.6.9
317800905
Output for 5.6.8
1881896256
Output for 5.6.7
1240186440
Output for 5.6.6
654765329
Output for 5.6.5
1537061400
Output for 5.6.4
685370534
Output for 5.6.3
1803966057
Output for 5.6.2
73096420
Output for 5.6.1
1383782652
Output for 5.6.0
1179974565
Output for 5.5.38
523990683
Output for 5.5.37
1735269378
Output for 5.5.36
336554729
Output for 5.5.35
1181727460
Output for 5.5.34
1714756160
Output for 5.5.33
38760428
Output for 5.5.32
1280418679
Output for 5.5.31
1367996861
Output for 5.5.30
373840074
Output for 5.5.29
1590868019
Output for 5.5.28
119532936
Output for 5.5.27
2077305916
Output for 5.5.26
901764435
Output for 5.5.25
115738415
Output for 5.5.24
376883726
Output for 5.5.23
684704314
Output for 5.5.22
1219437293
Output for 5.5.21
1829653016
Output for 5.5.20
419765453
Output for 5.5.19
2106034585
Output for 5.5.18
756888868
Output for 5.5.16
1512986734
Output for 5.5.15
421622825
Output for 5.5.14
1255416383
Output for 5.5.13
620197343
Output for 5.5.12
1568228966
Output for 5.5.11
2058578143
Output for 5.5.10
2057720456
Output for 5.5.9
456927624
Output for 5.5.8
371977999
Output for 5.5.7
1883341091
Output for 5.5.6
1486343936
Output for 5.5.5
506921048
Output for 5.5.4
207766306
Output for 5.5.3
77182500
Output for 5.5.2
37278353
Output for 5.5.1
1070795419
Output for 5.5.0
132818362
Output for 5.4.45
169746122
Output for 5.4.44
180655706
Output for 5.4.43
218779842
Output for 5.4.42
1934187057
Output for 5.4.41
1266837650
Output for 5.4.40
51154461
Output for 5.4.39
872541737
Output for 5.4.38
263253240
Output for 5.4.37
807824370
Output for 5.4.36
1261203863
Output for 5.4.35
2098075439
Output for 5.4.34
1767210904
Output for 5.4.32
1395917827
Output for 5.4.31
1731359908
Output for 5.4.30
1774759282
Output for 5.4.29
711510694
Output for 5.4.28
70265085
Output for 5.4.27
1457800730
Output for 5.4.26
405075425
Output for 5.4.25
813548210
Output for 5.4.24
425104922
Output for 5.4.23
135008114
Output for 5.4.22
1539656452
Output for 5.4.21
699187736
Output for 5.4.20
326600550
Output for 5.4.19
1475563659
Output for 5.4.18
1962264791
Output for 5.4.17
1546948262
Output for 5.4.16
1834800610
Output for 5.4.15
52656142
Output for 5.4.14
1159268780
Output for 5.4.13
903728086
Output for 5.4.12
1612528532
Output for 5.4.11
1908875750
Output for 5.4.10
1686406345
Output for 5.4.9
911498352
Output for 5.4.8
456422390
Output for 5.4.7
1427729549
Output for 5.4.6
1566076792
Output for 5.4.5
1853343315
Output for 5.4.4
15593170
Output for 5.4.3
313931870
Output for 5.4.2
497187674
Output for 5.4.1
1476029089
Output for 5.4.0
1826203801
Output for 5.3.29
1804532712
Output for 5.3.28
1164858329
Output for 5.3.27
382853902
Output for 5.3.26
1455479631
Output for 5.3.25
2016814149
Output for 5.3.24
592467982
Output for 5.3.23
337191216
Output for 5.3.22
640289839
Output for 5.3.21
207091060
Output for 5.3.20
1292744393
Output for 5.3.19
989335597
Output for 5.3.18
1565722753
Output for 5.3.17
572286458
Output for 5.3.16
1251628931
Output for 5.3.15
1395712195
Output for 5.3.14
138559230
Output for 5.3.13
319703254
Output for 5.3.12
1422872577
Output for 5.3.11
1350757160
Output for 5.3.10
49737096
Output for 5.3.9
1101943397
Output for 5.3.8
64557668
Output for 5.3.7
1658439427
Output for 5.3.6
752937040
Output for 5.3.5
677472446
Output for 5.3.4
1923245486
Output for 5.3.3
1457905517
Output for 5.3.2
1170053369
Output for 5.3.1
710574388
Output for 5.3.0
139102298
Output for 5.2.17
120064157
Output for 5.2.16
3853024
Output for 5.2.15
1614725650
Output for 5.2.14
2004691020
Output for 5.2.13
41292898
Output for 5.2.12
1185713369
Output for 5.2.11
1956872188
Output for 5.2.10
1355190580
Output for 5.2.9
1708303173
Output for 5.2.8
491843837
Output for 5.2.7
1700839226
Output for 5.2.6
1835525525
Output for 5.2.5
510425056
Output for 5.2.4
323253797
Output for 5.2.3
1504605111
Output for 5.2.2
779128565
Output for 5.2.1
2141169858
Output for 5.2.0
568723220
Output for 5.1.6
369851011
Output for 5.1.5
228935248
Output for 5.1.4
1481326306
Output for 5.1.3
1829774144
Output for 5.1.2
2006862087
Output for 5.1.1
1741449039
Output for 5.1.0
1304715577
Output for 5.0.5
662828430
Output for 5.0.4
1795196290
Output for 5.0.3
2143781818
Output for 5.0.2
480645996
Output for 5.0.1
1872759355
Output for 5.0.0
1628499880
Output for 4.4.9
2065848267
Output for 4.4.8
1507331890
Output for 4.4.7
1170816402
Output for 4.4.6
341277076
Output for 4.4.5
1229737489
Output for 4.4.4
147711178
Output for 4.4.3
408463822
Output for 4.4.2
403858934
Output for 4.4.1
1642062610
Output for 4.4.0
614239359
Output for 4.3.11
1504848511
Output for 4.3.10
909720746
Output for 4.3.9
1984956707
Output for 4.3.8
25805766
Output for 4.3.7
1874341532
Output for 4.3.6
1249579092
Output for 4.3.5
2019673932
Output for 4.3.4
507079339
Output for 4.3.3
1779870308
Output for 4.3.2
124269631
Output for 4.3.1
695940502
Output for 4.3.0
1848960629