lib/blobfolio/common/data.php
public static function random_int(int $min=0, int $max=1) {
		if ($min > $max) {
			static::switcheroo($min, $max);
		}

		return \random_int($min, $max);
	}
public static function random_int(int $min=0, int $max=1) {
		if ($min > $max) {
			static::switcheroo($min, $max);
		}

		return \random_int($min, $max);
	}
public static function random_int ( int $ min = 0 , int $ max = 1 ) { if ( $ min > $ max ) { static :: switcheroo ( $ min , $ max ) ; } return \ random_int ( $ min , $ max ) ; }
Generate Random Integer

This will use the most secure function
available for the environment.

@param int $min Min.
@param int $max Max.
@return int Random number.
Generate Random Integer