title: is_numeric, intval, ctype__digit.. can you rely on them?
body: <p>is_numeric, intval, ctype__digit.. can you rely on them?</p>
  
  <p>or do i have to use regex?</p>
  
  <pre>
  function isNum($str) {<br>
      return (preg_match("/^[0-9]+$/", $str));
  <br>}
  </pre>
  
  <p>what do you guys think? am i stupid?</p>