> > I would prefer not to refer to random to avoid any confusion with the > recent added random function. As uuid is not crypto safe and is not aimed > to. Users will then hopefully not think about using instead of the random > api. > > Also uuid alone may be a problem (bc?) It sounds like a logical choice. > Alternatively uuid_create (). > Ah yes, good point. I was thinking random_uuid() might be good for v4 UUIDs, and that a parameter might be needed, but I failed to make the connection that not all UUID versions are random - my apologies for not catching that before hitting send.
I like the idea of uuid() or uuid($version = 4)