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 050bed0 commit 13c0316Copy full SHA for 13c0316
Cloner/VarCloner.php
@@ -48,8 +48,8 @@ protected function doClone($var)
48
// or null if the original value is used directly
49
50
if (!self::$hashMask) {
51
- self::$gid = uniqid(mt_rand(), true); // Unique string used to detect the special $GLOBALS variable
52
self::initHashMask();
+ self::$gid = md5(dechex(self::$hashMask)); // Unique string used to detect the special $GLOBALS variable
53
}
54
$gid = self::$gid;
55
$hashMask = self::$hashMask;
0 commit comments