is_numeric in action
<?php $item = 43; echo "The variable \$item is numeric: ".is_numeric($item)."<br />"; ?>