abs PHP 3.0

int abs(int number)

 

Returns the absolute value of the number.

acos PHP 3.0

float acos(float number)

 

Returns the arc cosine of the number in radians.

acosh PHP 4.1.0

float acosh(float number)

 

Returns the inverse hyperbolic cosine of the number (i.e., the value whose hyperbolic cosine is number).

asin PHP 3.0

float asin(float number)

 

Returns the arc sine of the number in radians.

asinh PHP 4.1.0

float asinh(float number)

 

Returns the inverse hyperbolic sine of the number (i.e., the value whose hyperbolic sine is number).

atan2 PHP 3.0.5

float atan2(float y, float x)

 

Returns the arc tangent of y / x , with the resulting quadrant determined by the signs of y and x.

atan PHP 3.0

float atan(float number)

 

Returns the arc tangent of the number in radians.

atanh PHP 4.1.0

float atanh(float number)

 

Returns the inverse hyperbolic tangent of the number (i.e., the value whose hyperbolic tangent is number).

base_convert PHP 3.0.6

string base_convert(string number, int frombase, int tobase)

 

Converts a number in a string from any base to any other base (where both bases are less than or equal to 36).

bindec PHP 3.0

int bindec(string binary_number)

 

Returns the decimal equivalent of a binary number.

ceil PHP 3.0

float ceil(float number)

 

Returns the next highest integer value of the number.

cos PHP 3.0

float cos(float number)

 

Returns the cosine of the number in radians.

cosh PHP 4.1.0

float cosh(float number)

 

Returns the hyperbolic cosine of the number.

decbin PHP 3.0

string decbin(int decimal_number)

 

Returns a string containing a binary representation of the number.

dechex PHP 3.0

string dechex(int decimal_number)

 

Returns a string containing a hexadecimal representation of the number.

decoct PHP 3.0

string decoct(int decimal_number)

 

Returns a string containing an octal representation of the number.

deg2rad PHP 3.0.4

float deg2rad(float number)

 

Converts the number in degrees to the radian equivalent.

exp PHP 3.0

float exp(float number)

 

Returns e raised to the power of the number.

expm1 PHP 4.1.0

float expm1(float number)

 

Returns exp(number) - 1 , computed in a way that is accurate even when the value of number is close to zero.

floor PHP 3.0

float floor(float number)

 

Returns the next lowest integer value from the number.

fmod PHP 4.1.0

float fmod(float x, float y)

 

Returns the remainder of dividing x by y as a float.

getrandmax PHP 3.0

int getrandmax(void)

 

Returns the maximum value a random number can have.

hexdec PHP 3.0

int hexdec(string hexadecimal_number)

 

Returns the decimal equivalent of the hexadecimal number.

is_finite PHP 4.1.0

bool is_finite(float val)

 

Returns whether argument is finite.

is_infinite PHP 4.1.0

bool is_infinite(float val)

 

Returns whether argument is infinite.

is_nan PHP 4.1.0

bool is_nan(float val)

 

Returns whether argument is not a number.

lcg_value PHP 4.0

float lcg_value( )

 

Returns a value from the combined linear congruential generator.

log10 PHP 3.0

float log10(float number)

 

Returns the base-10 logarithm of the number.

log1p PHP 4.1.0

float log1p(float number)

 

Returns log(1 + number) , computed in a way that is accurate even when the value of number is close to zero.

log PHP 3.0

float log(float number)

 

Returns the natural logarithm of the number.

max PHP 3.0

mixed max(mixed arg1[, mixed arg2[, mixed ...]])

 

Return the highest value in an array or a series of arguments.

min PHP 3.0

mixed min(mixed arg1[, mixed arg2[, mixed ...]])

 

Returns the lowest value in an array or a series of arguments.

mt_getrandmax PHP 3.0.6

int mt_getrandmax(void)

 

Returns the maximum value a random number from Mersenne Twister can have.

mt_rand PHP 3.0.6

int mt_rand([int min, int max])

 

Returns a random number from Mersenne Twister.

mt_srand PHP 3.0.6

void mt_srand([int seed])

 

Seeds Mersenne Twister random number generator.

octdec PHP 3.0

int octdec(string octal_number)

 

Returns the decimal equivalent of an octal string.

pi PHP 3.0

float pi(void)

 

Returns an approximation of pi.

pow PHP 3.0

number pow(number base, number exponent)

 

Returns base raised to the power of exponent (as an integer result when possible).

rad2deg PHP 3.0.4

float rad2deg(float number)

 

Converts the radian number to the equivalent number in degrees.

rand PHP 3.0

int rand([int min, int max])

 

Returns a random number.

round PHP 3.0

float round(float number[, int precision])

 

Returns the number rounded to specified precision.

sin PHP 3.0

float sin(float number)

 

Returns the sine of the number in radians.

sinh PHP 4.1.0

float sinh(float number)

 

Returns the hyperbolic sine of the number.

sqrt PHP 3.0

float sqrt(float number)

 

Returns the square root of the number.

srand PHP 3.0

void srand([int seed])

 

Seeds random number generator.

tan PHP 3.0

float tan(float number)

 

Returns the tangent of the number in radians.

tanh PHP 4.1.0

float tanh(float number)

 

Returns the hyperbolic tangent of the number.