+ 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 Odpowiedź
+ 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