PHP is_real() Function

PHP is_real() Function


The is_real() function is an inbuilt function in PHP which is used to check the given value is a real number or not.

Syntax:

bool is_real( mixed $var )

Parameters: This function accepts one parameter as mentioned above and described below:

  • $var: It contains the value of variable that need to be check.