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
Category Archives: PHP
In a production-level code, it is very important to keep the information as either variables or constants rather than using them explicitly. A PHP constant… 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
A number is called even if the number is divisible by 2 and is called odd if it is not divisible by 2. Given a… 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
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. One… Read More
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. One… Read More
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. One… Read More
Among the methods to measure angles, the two most commonly used are degrees and radians. Students typically learn about degree while learning about radian becomes… Read More