PHP – getrandmax() Function
The PHP getrandmax() function returns the largest possible value that can be returned by the rand() function.
The PHP getrandmax() function returns the largest possible value that can be returned by the rand() function.
The PHP hexdec() function converts a hexadecimal number to a decimal number.
The PHP hypot() function calculates the hypotenuse of a right-angle triangle.
The PHP is_finite() function checks whether a value is finite or not, and returns true (1) if the value is a finite number, or false/nothing if not.
The PHP is_infinite() function checks whether a value is infinite or not, and returns true (1) if the value is an infinite number, or false/nothing if not.
The PHP is_nan() function checks whether a value is ‘not a number’, and returns true (1) if the value is ‘not a number’ or false/nothing if it is a number.
The PHP lcg_value() function returns a pseudo random number in a range between 0 and 1.
The PHP log() function returns the natural logarithm of a number, or the logarithm of number to base.
The PHP log1p() function returns log(1+number), computed in a way that is accurate even when the value of number is close to zero.
The PHP max() function returns the highest value in an array, or the highest value of several specified values.
The PHP min() function returns the lowest value in an array, or the lowest value of several specified values.
The PHP mt_getrandmax() function returns the largest possible value that can be returned by mt_rand().
The PHP mt_rand() function generates a random integer using the Mersenne Twister algorithm.
The PHP mt_srand() function seeds the Mersenne Twister random number generator.