✔ CSPRNG


<?php
$int   = random_int(-500, 500);
$bytes = random_bytes(10);

var_dump( $int );
var_dump( bin2hex($bytes) );
?>
Output
int(377) string(20) "e6ca615d63baccfc0402"