+ 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