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.
2 parents 166ca8d + 694b4fd commit 95f5209Copy full SHA for 95f5209
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