Converting a Sting to an Integer returns 2147483647
<p>Plenty of others seem to have had this problem, but usually associated with an MySQL datatype.</p>

<p>I'm trying to convert a String to an Integer like this:</p>

<pre><code>$adGroupId  = '5947939396';
$adGroupId  = intval($adGroupId)
</code></pre>

<p>However the Integer returned is 2147483647, irrespective of the string input.</p>

<p>As always, any help would be greatly appreciated.</p>
