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: