Queries and SolutionsCategory: PHPIs variable is a number?
bestonetechnologies Staff asked 6 years ago

In PHP, Can we check the value of a given variable is a number?

1 Answers
bestonetechnologies Staff answered 6 years ago

Yes, is_numeric() returns whether the variable is a number or not.

Your Answer

7 + 2 =