3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand() | rand() | rand();
Output for 7.1.0
2147474431
Output for 7.0.14
2141978619
Output for 7.0.10
1040187391
Output for 7.0.9
2145369015
Output for 7.0.8
1862268922
Output for 7.0.7
2130706431
Output for 7.0.6
2147483643
Output for 7.0.5
2080362491
Output for 7.0.4
2080239342
Output for 7.0.3
2147481471
Output for 7.0.2
2113400799
Output for 7.0.1
1879014207
Output for 7.0.0
2122291178
Output for hhvm-3.12.0
2097149869
Output for hhvm-3.10.0
2080111591
Output for 5.6.28
1742732789
Output for 5.6.25
2130444255
Output for 5.6.24
2126511615
Output for 5.6.23
2122034687
Output for 5.6.22
1978662783
Output for 5.6.21
2013232445
Output for 5.6.20
2146238335
Output for 4.3.11, 5.4.21, 5.6.19
2147350527
Output for 5.2.0, 5.6.18
2147482607
Output for 5.6.17
1035984383
Output for 5.6.16
1860960175
Output for 5.6.15
1069535217
Output for 5.6.14
2113847295
Output for 5.6.13
2013249467
Output for 5.6.12
2138570687
Output for 5.6.11
2147475455
Output for 5.6.10
2147418107
Output for 5.6.9
2111569911
Output for 5.6.8
2147483487
Output for 5.6.7
2147483391
Output for 5.6.6
736018174
Output for 5.4.23, 5.6.5
2147483583
Output for 5.6.4
2146959355
Output for 5.5.15, 5.6.3
2147482623
Output for 5.6.2
1069219575
Output for 5.6.1
2146138943
Output for 5.6.0
1979572223
Output for 5.5.38
2136865791
Output for 5.5.37
2143281151
Output for 5.5.36
1610578927
Output for 5.5.35
2147418102
Output for 5.5.34
2013134839
Output for 5.5.33
2144190463
Output for 5.5.32
2080373503
Output for 5.5.31
2129657087
Output for 5.5.30
2147477485
Output for 5.5.29
1878786029
Output for 5.5.28
1879045863
Output for 5.5.27
2144861567
Output for 5.5.26
1321138171
Output for 5.5.25
2080112639
Output for 5.5.24
524287931
Output for 5.5.23
402652143
Output for 5.5.22
2002776063
Output for 5.5.21
452835838
Output for 5.5.20
996802559
Output for 5.5.19
1073741791
Output for 5.5.18
2013265915
Output for 5.5.16
1073721329
Output for 5.5.14
2147479551
Output for 5.5.13
1072678891
Output for 5.5.12
1878613951
Output for 5.5.11
1067973628
Output for 5.5.10
2079846141
Output for 5.5.9
1073328878
Output for 5.5.8
2147352575
Output for 5.5.7
1342176755
Output for 5.5.6
2139094911
Output for 5.5.5
1060634623
Output for 5.5.4
2145252799
Output for 5.5.3
2147348479
Output for 5.5.2
2147449854
Output for 5.5.1
1723850751
Output for 5.5.0
2129104639
Output for 5.4.45
1878981887
Output for 5.4.19, 5.4.44
2147483647
Output for 5.4.43
2147483621
Output for 5.4.42
2078277599
Output for 5.4.41
2147221183
Output for 5.4.40
2113797471
Output for 5.4.39
2113273655
Output for 5.4.38
2143289337
Output for 5.4.37
1845488435
Output for 5.4.36
2147417639
Output for 5.4.35
2147350302
Output for 5.4.34
922742763
Output for 5.4.32
1832894451
Output for 5.4.31
2147483644
Output for 5.4.30
2147450871
Output for 5.4.29
2012215199
Output for 5.4.28
2146434783
Output for 5.4.27
2144337919
Output for 5.4.26
2009071583
Output for 5.4.25
1576926206
Output for 5.4.24
2147221500
Output for 5.4.22
1006075388
Output for 5.4.20
1879048191
Output for 5.4.18
2105012090
Output for 5.4.17
2113921011
Output for 5.4.16
2142732287
Output for 5.4.15
2130705879
Output for 5.4.14
2011168637
Output for 5.4.13
2101346239
Output for 5.4.12
2147483631
Output for 5.4.11
2147467263
Output for 5.4.10
2079850239
Output for 5.4.9
2146942958
Output for 5.4.8
2013265919
Output for 5.4.7
401604606
Output for 5.4.6
2147483641
Output for 5.4.5
2147473279
Output for 5.4.4
2139086331
Output for 5.4.3
2129656767
Output for 5.4.2
2012724191
Output for 5.4.1
1610219007
Output for 5.4.0
2146361075
Output for 5.3.29
2147450811
Output for 5.3.28
2145386495
Output for 5.3.27
2071923703
Output for 5.3.26
1985871548
Output for 5.3.25
1476390911
Output for 5.3.24
1962901503
Output for 5.3.23
2146168829
Output for 5.3.22
1874588751
Output for 5.3.21
2130665463
Output for 5.3.20
2071854975
Output for 5.3.19
1065348703
Output for 5.3.18
2147444221
Output for 5.3.17
2120212439
Output for 5.3.16
2113662975
Output for 5.3.15
2130702335
Output for 5.3.14
2113928189
Output for 5.3.13
2122317303
Output for 5.3.12
2143190775
Output for 5.3.11
805042109
Output for 5.3.10
2013265575
Output for 5.3.9
2144844799
Output for 5.3.8
1543436287
Output for 5.3.7
2146828287
Output for 5.3.6
2080243613
Output for 5.3.5
2147352559
Output for 5.3.4
2138963967
Output for 5.3.3
2146954749
Output for 5.3.2
1610575863
Output for 5.3.1
2147479295
Output for 5.3.0
2079047679
Output for 5.2.17
2146959039
Output for 5.2.16
2138038271
Output for 5.2.15
2146336743
Output for 5.2.14
2062548703
Output for 5.2.13
1601044475
Output for 5.2.12
2145385469
Output for 5.2.11
1610088446
Output for 5.2.10
1071283678
Output for 5.2.9
2121236463
Output for 5.2.8
2145901567
Output for 5.2.7
1059585967
Output for 5.2.6
939522047
Output for 5.2.5
2013263741
Output for 5.2.4
1874849791
Output for 5.2.3
2139089787
Output for 5.2.2
2080243711
Output for 5.2.1
973078526
Output for 5.1.6
2046820335
Output for 5.1.5
2012172279
Output for 5.1.4
2139095022
Output for 5.1.3
2138045397
Output for 5.1.2
2080174079
Output for 5.1.1
2073821167
Output for 5.1.0
1946157055
Output for 5.0.5
1873674239
Output for 5.0.4
2147483626
Output for 5.0.3
2130575103
Output for 5.0.2
2146435039
Output for 5.0.1
2147155967
Output for 5.0.0
2013204157
Output for 4.4.9
1473773311
Output for 4.4.8
1725954043
Output for 4.4.7
1069547391
Output for 4.4.6
2110783487
Output for 4.4.5
2147450687
Output for 4.4.4
2147417583
Output for 4.4.3
2146170873
Output for 4.4.2
1589247999
Output for 4.4.1
1072562047
Output for 4.4.0
2146369455
Output for 4.3.10
1876934388
Output for 4.3.9
2145337343
Output for 4.3.8
2013265391
Output for 4.3.7
2122306559
Output for 4.3.6
988790519
Output for 4.3.5
2147434367
Output for 4.3.4
2076048127
Output for 4.3.3
2012082111
Output for 4.3.2
2013263871
Output for 4.3.1
2138046463
Output for 4.3.0
2142681599