3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo mt_rand(1,99999999999999999999999999);
Output for 7.0.0 - 7.1.0
Warning: mt_rand() expects parameter 2 to be integer, float given in /in/V8Nru on line 3
Output for 4.3.0 - 5.0.1, 5.0.3 - 5.3.3, hhvm-3.12.0
1
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.5.24 - 5.6.28
Warning: mt_rand(): max(-2537764285350674432) is smaller than min(1) in /in/V8Nru on line 3
Output for 5.3.4 - 5.4.45
Warning: mt_rand(): max(0) is smaller than min(1) in /in/V8Nru on line 3
Output for 5.0.2
4436594778888470529