+ 11

๐Ÿ†Question๐Ÿ† Differece between rand() and srand() function in php ๐Ÿฅ‡

with help of php code to differentiate rand() and srand() function ๐Ÿ‘โœŒ๏ธ

20th Dec 2017, 7:32 AM
Harshad Gare
Harshad Gare - avatar
1 Answer
+ 3
As far as I know, srand () is not used in newer versions of PHP. The reason is that the rand () function now is seeded automatically
20th Dec 2017, 8:05 AM
Mickel
Mickel - avatar