The is_float() function in PHP checks if a variable is an integer.

  • TRUE
  • FALSE
This statement is false. The is_float() function in PHP checks if a variable is a float, not an integer. It returns true if the variable is a float (a number with a decimal point or an exponential form) and false otherwise. To check if a variable is an integer, you can use the is_int() function. Learn more: https://www.php.net/manual/en/function.is-float.php https://www.php.net/manual/en/function.is-int.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *