/home/altere25/highwoodoutdoorpool.com/wp-includes/random_compat
NameSizeModeActions
byte_safe_strings.php59730644editdlrm
cast_to_int.php26300644editdlrm
error_polyfill.php16970644editdlrm
random.php76870644editdlrm
random_bytes_com_dotnet.php29030644editdlrm
random_bytes_dev_urandom.php54400644editdlrm
random_bytes_libsodium.php28360644editdlrm
random_bytes_libsodium_legacy.php28940644editdlrm
random_bytes_mcrypt.php25210644editdlrm
random_int.php62620644editdlrm
Edit: /home/altere25/highwoodoutdoorpool.com/wp-includes/random_compat/cast_to_int.php (2630B)
operators might accidentally let a float * through. * * @param int|float $number The number we want to convert to an int * @param bool $fail_open Set to true to not throw an exception * * @return float|int * @psalm-suppress InvalidReturnType * * @throws TypeError */ function RandomCompat_intval($number, $fail_open = false) { if (is_int($number) || is_float($number)) { $number += 0; } elseif (is_numeric($number)) { $number += 0; } if ( is_float($number) && $number > ~PHP_INT_MAX && $number < PHP_INT_MAX ) { $number = (int) $number; } if (is_int($number)) { return (int) $number; } elseif (!$fail_open) { throw new TypeError( 'Expected an integer.' ); } return $number; } }