How to call function from it name stored in a string using JavaScript ?
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....
read more
PHP strtoupper() Function
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....
read more
PHP | base64_decode() Function
The base64_decode() is an inbuilt function in PHP which is used to Decodes data which is encoded in MIME base64.Syntax:...
read more
PHP rand() Function
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]....
read more
PHP | urldecode() Function
The urldecode() function is an inbuilt function in PHP which is used to decode url which is encoded by encoded() function. Syntax:...
read more
JavaScript Function Parameters
Function parameters in JavaScript act as placeholders for values that the function can accept when it’s called....
read more
PHP max( ) Function
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....
read more
Node.js https.request() Function
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....
read more
PHP array_unique() Function
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....
read more
PHP array_values() Function
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....
read more
PHP | json_encode() Function
The json_encode() function is an inbuilt function in PHP which is used to convert PHP array or object into JSON representation. Syntax :...
read more
Passing a function as a parameter in JavaScript
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....
read more