- Reverts the schneespur/ subdirectory restructure (b8e426b)
- Restores package.json and vite.config.js (needed for npm build, were
removed in an earlier cleanup before the restructure)
- Updates public/build/ assets with current Vite output (new content hashes)
19 lines
324 B
PHP
19 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();
|
|
}
|
|
}
|