title: Regex using PHP, any non-zero number containing the digits 0-9
body: <p>I have this regex:</p>
  
  <pre><code>/^[0-9]+$/i
  </code></pre>
  
  <p>Used in this code:</p>
  
  <pre><code>preg_match('/^[0-9]+$/i', $var);
  </code></pre>
  
  <p>I want the following to be true:
  $var = 1;
  $var = 50;
  $var = 333;</p>
  
  <p>And the following to be false:
  $var = 0;
  $var = 01;
  $var = 'abc';</p>
  
  <p>I think what I have works so far except for the "0" part..?</p>
  
  <p>I went through this guide (<a href="http://www.phpf1.com/tutorial/php-regular-expression.html" rel="nofollow">http://www.phpf1.com/tutorial/php-regular-expression.html</a>) but was unable to come up with a complete answer.</p>
  
  <p>Any help would be appreciated, thanks!</p>