- Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.26, 7.3.0 - 7.3.13, 7.4.0 - 7.4.1
- 1000
- Output for 5.6.0 - 5.6.40
- Fatal error: Call to undefined function random_int() in /in/14C2V on line 5
Process exited with code 255.
<?php
$a = 0;
for($i=1; $i<=1000;$i++) {
$rand = random_int(1, 200);
$a++;
}
echo $a;