3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo mt_rand(1,99999999999999999999999999);
Output for 7.3.0 - 7.3.12, 7.4.0
Warning: mt_rand() expects parameter 2 to be int, float given in /in/V8Nru on line 3
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.25
Warning: mt_rand() expects parameter 2 to be integer, float given in /in/V8Nru on line 3
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Warning: mt_rand(): max(-2537764285350674432) is smaller than min(1) in /in/V8Nru on line 3
Output for 5.3.4 - 5.3.29, 5.4.0 - 5.4.45
Warning: mt_rand(): max(0) is smaller than min(1) in /in/V8Nru on line 3
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.1, 5.0.3 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.3
1
Output for 5.0.2
4436594778888470529

preferences:
214.99 ms | 401 KiB | 322 Q