random_bytes
symfony/var-dumper
Supported Versions: PHP 7, PHP 8
Generates cryptographically secure pseudo-random bytes
random_bytes
(
int $length
):
string
if (!
$gid
=
self
::
$gid
) {
$gid
=
self
::
$gid
=
md5
(
random_bytes
(
6
));
// Unique string used to detect the special $GLOBALS variable
}
$arrayStub
= new
Stub
();
$arrayStub
->
type
=
Stub
::
TYPE_ARRAY
;
Cloner/VarCloner.php