Skip to content

Tag Archives: PHP-function

The array_pad() is a builtin function in PHP and is used to pad a value fixed number of time onto an array. This function inserts… Read More
Logarithm is the counter operation to exponentiation. The logarithm of a number is in fact the exponent to which the other number i.e. the base… Read More
Debugging is as important as coding in the field of development. There might occur a case when the developer needs to check information of a… Read More
The array_merge() is a builtin function in PHP and is used to merge two or more arrays into a single array. This function is used… Read More
PHP provides us with a built-in function phpinfo() which gives us the details about the PHP version and PHP configuration of PHP installed in our… Read More
We already have learned about strpos() and stripos() which helps to find the first occurrence of a string in another string. In this article we… Read More
The hypot() function is a built-in mathematical function in PHP and returns the square root of sum of square of arguments passed. It finds the… Read More
The str_word_count() function is a built-in function in PHP and is used to return information about words used in a string like total number word… Read More
In this article, we will see how to find the position of the first occurrence of a string in another string using strpos() and stripos()… Read More
PHP is a server side scripting language that is enriched with various utilities required. Mailing is one of the server side utilities that is required… Read More
In this article, we will see how to get the random number using the rand() function in PHP, along with knowing its implementation through the… Read More
The array_count_values() is an inbuilt function in PHP which is used to count all the values inside an array. In other words we can say… Read More
The array_combine() is an inbuilt function in PHP which is used to combine two arrays and create a new array by using one array for… Read More
The array_diff() is an inbuilt function in PHP ans is used to calculate the difference between two or more arrays. This function computes difference according… Read More
The array_fill() is an inbuilt-function in PHP and is used to fill an array with values. This function basically creates an user-defined array with a… Read More