3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand(0, pow(20, 20) - 1);
based on 3KRVZ
Output for 7.0.0 - 7.1.0
Warning: rand() expects parameter 2 to be integer, float given in /in/IAq01 on line 2
Output for 5.6.28
-1548478202715598336
Output for 5.6.21
-1844780141531372032
Output for 5.6.20
-1341462226024873472
Output for 5.6.19
-1646154903439035392
Output for 5.6.18
-2033410878622995456
Output for 5.6.17
-1981439794190751232
Output for 5.6.16
-1357735514325891584
Output for 5.6.15
-162015142669266432
Output for 5.6.14
-560471589412180992
Output for 5.6.13
-149965915490886144
Output for 5.6.12
-808929694172387840
Output for 5.6.11
-57422237319010304
Output for 5.6.10
-159553311706613760
Output for 5.6.9
-1965022206680073216
Output for 5.6.8
-582598162350836736
Output for 5.5.35
-1094375983903634432
Output for 5.5.34
-1214614200381896704
Output for 5.5.33
-312699082283021824
Output for 5.5.32
-226153209112656384
Output for 5.5.31
-166629297316551680
Output for 5.5.30
-1250708160035922432
Output for 5.5.29
-111761744415726080
Output for 5.5.28
-876812855534067712
Output for 5.5.27
-2062467876600069120
Output for 5.5.26
-1902719125239908352
Output for 5.5.25
-2002310273828081152
Output for 5.5.24
-1743753266643195392
Output for 4.3.0 - 5.0.1, 5.0.3 - 5.4.45
0
Output for 5.0.2
3255872620989513728