8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 166ca8d commit 694b4fdCopy full SHA for 694b4fd
src/Symfony/Component/Uid/UuidV4.php
@@ -24,7 +24,7 @@ public function __construct(string $uuid = null)
24
{
25
if (null === $uuid) {
26
$uuid = random_bytes(16);
27
- $uuid[6] = $uuid[6] & "\x0F" | "\x4F";
+ $uuid[6] = $uuid[6] & "\x0F" | "\x40";
28
$uuid[8] = $uuid[8] & "\x3F" | "\x80";
29
$uuid = bin2hex($uuid);
30
0 commit comments