Tutorialspoint

PHP7 random_int()

<?php
   print(random_int(100, 999));
   print("");
   print(random_int(-1000, 0));
?>

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.