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 48796b4 commit 54f93baCopy full SHA for 54f93ba
Cloner/VarCloner.php
@@ -41,7 +41,7 @@ protected function doClone(mixed $var): array
41
$stub = null; // Stub capturing the main properties of an original item value
42
// or null if the original value is used directly
43
44
- $gid = self::$gid ??= md5(random_bytes(6)); // Unique string used to detect the special $GLOBALS variable
+ $gid = self::$gid ??= hash('xxh128', random_bytes(6)); // Unique string used to detect the special $GLOBALS variable
45
$arrayStub = new Stub();
46
$arrayStub->type = Stub::TYPE_ARRAY;
47
$fromObjCast = false;
0 commit comments