php 1 is a string not integer
<p>I'm using a GET variable and people get to it by the following URL:</p>

<pre><code>page?siteID=1
</code></pre>

<p>and I check to make sure that siteID is an integer, but PHP is saying it is a string.</p>

<p>How can I convert it to a integer? I noticed that <code>intval()</code> would convert 0x1A to 26, which I don't want to happen.</p>
