srand

PHP 4, PHP 5, PHP 7, PHP 8
srand - Seed the random number generator
Srand Online Tool
Manual
Code Examples

Example #1 srand example

PHP Version:


Example #2 of srand

PHP Version:


Function srand:

Mathematical Functions Functions

Most used PHP functions