3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand(0, pow(20, 19));
based on 3rcO5
Output for 7.0.0 - 7.1.0
Warning: rand() expects parameter 2 to be integer, float given in /in/3KRVZ on line 2
Output for 4.3.0 - 5.0.1, 5.0.3 - 5.4.45, hhvm-3.10.0 - 3.12.0
0
Output for 5.6.28
222371241769615232
Output for 5.6.21
910848453639307904
Output for 5.6.20
611453497769757440
Output for 5.6.19
1665091839720359680
Output for 5.6.18
678516323632953344
Output for 5.6.17
673518861657803392
Output for 5.6.16
768937366544874240
Output for 5.6.15
310600585138448640
Output for 5.6.14
462534760541737856
Output for 5.6.13
701947967452057984
Output for 5.6.12
316855907967178496
Output for 5.6.11
1008366182608007552
Output for 5.6.10
1068163477214494080
Output for 5.6.9
1599128615447237632
Output for 5.6.8
565490223724534528
Output for 5.5.35
1026823778586214784
Output for 5.5.34
994993635320899200
Output for 5.5.33
1266425154809826816
Output for 5.5.32
1658203255449451520
Output for 5.5.31
234742379560596096
Output for 5.5.30
128346988470420608
Output for 5.5.29
944558484401462784
Output for 5.5.28
992213404534400384
Output for 5.5.27
1285945821662696448
Output for 5.5.26
194222477785600768
Output for 5.5.25
79221539358605952
Output for 5.5.24
145865432539269632
Output for 5.0.2
5608398587521138688