I'm looking to generate a UNIQUE random code.
When you use uniqid(), result is based on time, example: if user created ID yesterday at 12:12:35 and another user create a new ID today at same time, ID are identical because based on 24 hour loop time.
I'm tinking about using microtime in this way
// create random based on unix epoch
$random = round(microtime(true) * 1000);
In this way can I grant uniqueless of generated IDs?
'; } – Hid Dencum Jan 24 '19 at 22:20