PHP is_object() Function

The is_ object() function in PHP finds whether the specified variable is an object or not. It returns a Boolean value TRUE if the specified var is an object else it returns FALSE. Syntax

var(required)– This parameter represents the value to check. Return …

Read morePHP is_object() Function

PHP is_numeric() Function

The is_numeric() function in PHP finds whether the specified variable is a number or a numeric string. It returns a Boolean value TRUE if the specified var is a number or a numeric string else it returns FALSE otherwise. Syntax

var(required)– This parameter represents …

Read morePHP is_numeric() Function

PHP is_null() Function

The is_null() function in PHP is used to  find whether the specified variable is a null or not. It returns a Boolean value true if the parameter var is null else it returns false. Syntax

var(required)– This parameter represents …

Read morePHP is_null() Function

PHP is_iterable() Function

The is_iterable() function in PHP verifies that the contents of the specified variable is an iterable value. Syntax

var(required)– This parameter represents the value to check. Return This function returns a Boolean value TRUE if the parameter var is iterable, else it returns FALSE. …

Read morePHP is_iterable() Function

PHP is_long() Function

The PHP is_long () function in PHP is used to find whether a variable is an integer or not. It returns a Boolean value true if the parameter var is integer else it returns false. This function is an alias of …

Read morePHP is_long() Function

PHP is_int() Function

The PHP is_int() function in PHP is used to  find whether a variable is an integer or not. It returns a Boolean value true if the parameter var is integer else it returns false. Syntax

Parameter var(required)– This parameter …

Read morePHP is_int() Function

PHP is_countable() Function

The PHP is_countable() function in PHP is used to  find whether a variable is countable or not. It returns a Boolean value true if the parameter var is countable else it returns false. Syntax

Parameter var(required)– This parameter represents …

Read morePHP is_countable() Function

PHP is_bool() Function

The is_bool() Function in PHP is used to  find whether a variable is a Boolean or not. It returns a Boolean value true if the parameter var is a Boolean else it returns false. Syntax

Parameter var(required)- This parameter …

Read morePHP is_bool() Function

PHP is_array() Function

The is_array() Function in PHP is used to  find whether a variable is an array or not. It returns a Boolean value true if the parameter var is an array else it returns false. Syntax

Parameter var(required)- This parameter …

Read morePHP is_array() Function

PHP intval() Function

The intval() Function in PHP is used to get the integer value for the given variable. This function should not be used on objects. Else it will emit an E_NOTICE level error and return 1. Syntax

Parameter var(required)- This parameter represents …

Read morePHP intval() Function

PHP gettype() Function

PHP gettype() Function The gettype () function in PHP gets the type of the specified variable. Syntax

Parameter var(required)– This parameter represents the variable being type checked. Return This function returns the type of the PHP variable specified by “var” parameter. …

Read morePHP gettype() Function

PHP get_defined_vars() Function

PHP get_defined_vars() Function The get_defined_vars() function in PHP returns an array of all defined variables. It returns a multidimensional array containing a list of all defined variables. Syntax

Parameter NA Return This function returns a multidimensional array containing a …

Read morePHP get_defined_vars() Function

PHP floatval() Function

PHP floatval() Function The floatval() function in PHP is used to give the float value of a variable. Syntax

Parameter var(required)– This parameter represents the name of the variable that is to be converted. Return This function returns the …

Read morePHP floatval() Function

PHP fprintf() Function

PHP fprintf() Function The fprintf() function in PHP outputs a formatted string. This function operates as printf() but accepts an array of arguments, rather than a variable number of arguments. Syntax

Parameter format(required)- This parameter specifies the string and how …

Read morePHP fprintf() Function

PHP vfprintf() Function

PHP vfprintf() Function The vfprintf() function in PHP writes a formatted string to a specified output stream. Syntax

Parameter handle(required)- This parameter represents where to write the string. format(required)- This parameter specifies the string and how to format the …

Read morePHP vfprintf() Function

PHP empty() Function

PHP empty() Function The empty() function in PHP determines whether the specified variable is empty or not. The specified variable is considered empty if it does not exist or if its value is equal to FALSE. This function does not generate a warning …

Read morePHP empty() Function