Function | Details |
---|---|
abs() | Absolute value of a number |
acos() | Arc Cosine value of input |
acosh() | Inverse hyperbolic cosine of input |
asin() | Arc Sin value of input |
asinh() | Inverse hyperbolic sine of input |
atan() | Arc tangent value of input |
atan2() | Arc tangent of two inputs |
atanh() | Inverse hyperbolic tangent value of input |
base_convert() | Convert number from one base to other |
bindec() | Decimal equivalent of Binary string |
ceil() | Next Higher integer after rounding |
cos() | Cos value of Radian input |
cosh() | Hyperbolic cosine |
decbin() | Binary equivalent of Decimal number |
dechex() | Hex equivalent of Decimal number |
decoct() | Octal equivalent of Decimal number |
deg2rad() | Convert Degree value to Radian |
exp() | Value of e raised to the power of input value |
expm1() | equivalent to 'exp(arg) - 1' |
floor() | nearest lower integer |
fmod() | reminder ( modulo ) of a division |
getrandmax() | largest random value |
hexdec() | Hexadecimal to decimal |
hypot() | hypotenuse of a right-angle triangle |
intdiv() | integer quotient of the division ( PHP 7 ) |
is_finite() | Checking legal finite number |
is_infinite() | Checking whether value is infinite |
is_nan() | Checking whether a value is not a number |
lcg_value() | pseudo random number generator |
log() | Log value with different Base |
log10() | Log value with Base 10 |
log1p() | Log value with input added by 1 |
max() | Maximum value from array or group |
min() | Minimum value from array or group |
mt_getrandmax() | largest possible random value |
mt_rand() | random value generator |
mt_srand() | Seeds random value generator |
octdec() | Convert Octal to Decimal number |
PI() | Constant value PI() & M_PI |
POW() | Exponential value of a Base |
round() | Rounded value of a number |
rand() | Random number generator |
random_int() | cryptographic random integer generator ( PHP 7) |
rad2deg() | Convert radian to degree |
sin() | Sin value of Radian input |
sinh() | Hyperbolic sine value |
sqrt() | square root of number |
tan() | Tangent value of Radian input |
tanh() | Hyperbolic tangent value |
abs()
function in PHP?ceil()
and floor()
functions in PHP?min()
function work in PHP, and what is its purpose?max()
function in PHP.pow()
function in PHP, and how is it used?rand()
function in PHP and provide an example.Author
🎥 Join me live on YouTubePassionate about coding and teaching, I publish practical tutorials on PHP, Python, JavaScript, SQL, and web development. My goal is to make learning simple, engaging, and project‑oriented with real examples and source code.
18-03-2023 | |
Please give small example and syntax |