Function __global->get_secure_random_number

Definitions

sources/crypt.php

  • Get a secure random number, the best this PHP version / our MySQL schema can do.Will be between 1 and max signed 32 bit integer (so it can be stored in a 32 bit database).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Returns

  • The randomised number
  • Type: integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a secure random number, the best this PHP version / our MySQL schema can do.Will be between 1 and max signed 32 bit integer (so it can be stored in a 32 bit database).
 *
 * @return integer The randomised number
 */

function get_secure_random_number() : int