lundi 4 juin 2018

Is the random number generator atomic

When does the rand() function change it's seed value?

Is it possible for a second instance of php calling the function to interrupt and initiate a rand() function before the first instance of the function has changed the seed value and thereby return the same result to two seperate php script instances?




Aucun commentaire:

Enregistrer un commentaire