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 3ae3244 + 5f364af commit 104387aCopy full SHA for 104387a
src/Symfony/Component/VarDumper/Cloner/VarCloner.php
@@ -46,7 +46,7 @@ protected function doClone($var)
46
// or null if the original value is used directly
47
48
if (!$gid = self::$gid) {
49
- $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
50
}
51
$arrayStub = new Stub();
52
$arrayStub->type = Stub::TYPE_ARRAY;
0 commit comments