there's a keyword in php I think called int
this returns false:
$n='1';
echo is_int($n);
but this is a parse error, so I'm not getting the right usage
$n='1';
echo is_int( int $n ); //yields parse error
I could use
$n='1';
echo preg_match('/[0-9]+$/',trim($n));
but that seems very tortured AND SLOW - any suggestions???
gracias!
Sam