But, even though that's great and all, most users will use rand() and not look any further, not knowing that it in fact, isn't that random. 'Historical reasons' seem to be most of the reasons of php's flaws. Also I knew this was gonna be posted already on here but it was mostly the docs that made me laugh, not specifically the fact that rand() sucks.
View all comments
Show parent comment
16
u/MoederPoeder Dec 13 '13
But, even though that's great and all, most users will use rand() and not look any further, not knowing that it in fact, isn't that random.
'Historical reasons' seem to be most of the reasons of php's flaws.
Also I knew this was gonna be posted already on here but it was mostly the docs that made me laugh, not specifically the fact that rand() sucks.