In this article, we will call a function from the string stored in a variable. There are two methods to call a function from a string stored in a variable....
The strtoupper() function is used to convert a string into uppercase. This function takes a string as parameter and converts all the lowercase english alphabets present in the string to uppercase. All other numeric characters or special characters in the string remains unchanged....
The base64_decode() is an inbuilt function in PHP which is used to Decodes data which is encoded in MIME base64.Syntax:...
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 example. The rand() is an inbuilt function in PHP used to generate a random number ie., it can generate a random integer value in the range [min, max]....
The urldecode() function is an inbuilt function in PHP which is used to decode url which is encoded by encoded() function.
Syntax:...
Function parameters in JavaScript act as placeholders for values that the function can accept when it’s called....
The max() function of PHP is used to find the numerically maximum value in an array or the numerically maximum value of several specified values. The max() function can take an array or several numbers as an argument and return the numerically maximum value among the passed parameters. The return type is not fixed, it can be an integer value or a float value based on input....
Node.js provides two core modules for making http requests. The http module can be used to make http requests and the https module can be used to make https requests. One great feature of the request is that it provides a single module that can make both http and https requests....
Many times while writing programs or development we need to filter arrays to remove duplicates. PHP provides us with an inbuilt function to do this, making things easy for us. The array_unique() is a built-in function in PHP and this function removes duplicate values from an array. If there are multiple elements in the array with same values then the first appearing element will be kept and all other occurrences of this element will be removed from the array....
In this article, we will see how to get an array value using the array_values() function in PHP, along with understanding their implementation through the example....
The json_encode() function is an inbuilt function in PHP which is used to convert PHP array or object into JSON representation.
Syntax :...
In this article, we will pass a function as a parameter in JavaScript. Passing a function as an argument to the function is quite similar to passing a variable as an argument to the function. So variables can be returned from a function....