<?php function isInteger($input){ return(ctype_digit(strval($input))); } $var = 0; if(isInteger($var) === 0){ echo "true"; }else{ echo "false"; }
You have javascript disabled. You will not be able to edit any code.