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 000ffb2 + 104387a commit 079d85dCopy full SHA for 079d85d
src/Symfony/Component/VarDumper/Cloner/VarCloner.php
@@ -45,7 +45,7 @@ protected function doClone($var)
45
// or null if the original value is used directly
46
47
if (!$gid = self::$gid) {
48
- $gid = self::$gid = uniqid(mt_rand(), true); // Unique string used to detect the special $GLOBALS variable
+ $gid = self::$gid = md5(random_bytes(6)); // Unique string used to detect the special $GLOBALS variable
49
}
50
$arrayStub = new Stub();
51
$arrayStub->type = Stub::TYPE_ARRAY;
0 commit comments