PHP: Is_numeric returns false on 0
- by Industrial
Hi everyone,
Is_numeric() as well as is_int() returns false if the value is 0. What can i do instead to verify that a specific value is numbers only in PHP?
Are we heading straight for the Regular Expressions camp, or are there some nice, handy feature for this out there already?
Thanks!