ended8월 31일· 1 sources

True Randomness in Laravel with Lararand

Why it matters

Here is a line of PHP that deals a card from a tarot deck. It is wrong. $card = ord(random_bytes(1)) % 78; Not wrong in the way a linter finds. It returns a number between 0 and 77 every single time. ...

1
Sources
+0
24h
Growth
21d
Active

Sources

Related Issues