Files
eCert-MBIP/vendor/thecodingmachine/safe/generated/8.1/gmp.php

20 lines
324 B
PHP

<?php
namespace Safe;
use Safe\Exceptions\GmpException;
/**
* @param \GMP|int|string $seed
* @throws GmpException
*
*/
function gmp_random_seed($seed): void
{
error_clear_last();
$safeResult = \gmp_random_seed($seed);
if ($safeResult === false) {
throw GmpException::createFromPhpError();
}
}