I'm trying to create fair random numbers in PHP, and I knew how to do it in other languages but I cannot work out how for the life of me in PHP.
I need to take the first 4 bytes/characters of it and turn it into an integer.
Please may someone help me out?