DEV Community

Discussion on: Eloquent UUIDs.

Collapse
 
jakebman profile image
jakebman

I jumped down Kati's throat a little hastily - uuid4() is RFC compliant as far as I could skim. It sets the correct bits for a version 4 UUID, which generates the rest of the bits randomly. That's a valid UUID.