A

Admin • 832.27K Points
Coach

Q. Which PHP function checks if a variable is numeric?

  • (A) is_number()
  • (B) is_numeric()
  • (C) is_int()
  • (D) is_digit()
  • Correct Answer - Option(B)
  • Views: 26
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

is_numeric() checks whether a variable is a number or numeric string.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.