Will running the same script multiple times with a rand() call return different values?
- by aamir Fayyaz
I have a script that calls the rand function:
<?php
echo rand(0, 9);
?>
If I run this script multiple times, will I get different numbers out, or will it always be the same? In other words, does PHP seed rand automatically?