UUID

From: Date: Tue, 12 Apr 2016 06:09:05 +0000
Subject: UUID
Groups: php.internals 
Request: Send a blank email to internals+get-92209@lists.php.net to get a copy of this message
In PHP 7.0 we introduced random_bytes() which wraps Linux's getrandom(2) as well as Windows's CryptGenRandom() and uses /dev/urandom as a fallback. I think it would be great if we added a function that wraps /proc/sys/kernel/random/uuid [2] and, if that exists, its equivalent on Windows to make the generation of UUIDs easy. Thoughts?

« previous php.internals (#92209) next »