is_int()

<?php
$a = 456;
echo "a: is an integer" . (is_int($a) ? "true" : "false") . "\n";
?>

Post to Twitter Post to Digg Post to Facebook Post to Google Buzz Send Gmail

Leave a Comment

Your email address will not be published. Required fields are marked *