Menu
  • HOME
  • TAGS

php is_int() not working as it should [closed]

php,isinteger

is_int check if variable is integer type, if it is string f.g "23" it will not work. You need to use ctype_digit()