function isint( $mixed ){ return ( preg_match( '/^\d*$/' , $mixed) == 1 );}
function isInteger($input){ return(ctype_digit(strval($input)));}