rand

PHP 4, PHP 5, PHP 7, PHP 8
rand - Generate a random integer
Rand Online Tool
Manual
Code Examples

Example #1 rand example

Result: 7771 22264 11
PHP Version:


Example #2 of rand

PHP Version:


Function rand:

Mathematical Functions Functions

Most used PHP functions