# Tag Archives: PHP-function

## PHP | atanh( ) Function

In mathematics, the inverse hyperbolic functions are the inverse functions of the hyperbolic functions. For a given value of a hyperbolic function, the corresponding inverse… Read More »

## PHP | exp() Function

Euler’s Number or commonly known as e is a very popular irrational number which approximates to 2.718281828, and is one of the most important mathematical… Read More »

## PHP | intdiv() Function

intdiv stands for integer division. This function returns the integer quotient of the division of the given dividend and divisor. This function internally removes the… Read More »

## PHP | atan2( ) Function

The atan2() function is a builtin function in PHP and is used to calculate the arc tangent of two variables x and y passed to… Read More »

## PHP | fmod() Function

fmod stands for Floating Modulo. Modulo calculates the remainder of a division which is generally noted with the ‘%’ symbol. However, the general modulo expression… Read More »

## PHP | array_diff_assoc() Function

This inbuilt function of PHP is used to get the difference between one or more arrays. This function compares both the keys and values between… Read More »

## PHP | decbin( ) Function

While working with numbers, many times we need to convert the bases of number and one of the most frequent used conversion is decimal to… Read More »

## PHP | dechex( ) Function

The dechex() is a built-in function in PHP and is used to convert a given decimal number to an equivalent hexadecimal number. The word ‘dechex’… Read More »

## PHP | cos( ) Function

Trigonometry is an important part of mathematics and PHP’s math functions provides us with some functions which are very useful for calculations involving trigonometry. The… Read More »

## PHP Math Functions (abs, pi, deg2rad, rad2deg, fmod, floor, ceil, round, is_finite, is_infinite)

As you know PHP is a sever side script language and is used for creating dynamic web pages. PHP provides a number of built-in math… Read More »

## PHP | array_sum() Function

The array_sum() function returns the sum of all the values in an array(one dimensional and associative). It takes an array parameter and returns the sum… Read More »

## PHP | substr() function

The substr() is a built-in function in PHP that is used to extract a part of string. Syntax: substr(string_name, start_position, string_length_to_cut) Parameters: The substr() function… Read More »

## PHP | String Functions

We have learned about some basic string manipulation functions available in PHP in the article PHP | String . In this article, we will learn… Read More »

## PHP | array_splice() Function

This inbuilt function of PHP is an advanced and extended version of array_slice() function, where we not only can remove elements from an array but… Read More »

## PHP | array_intersect_key() Function

This builtin function of PHP is used to compute the intersection of two or more arrays. The function is different from array_intersect() and array_intersect_assoc() in… Read More »