PHP -- Convert string to bigint
<p>I have the following string which i need to convert to integer or bigint.</p>

<pre><code>$test="99999977706";
</code></pre>

<p>I tried:</p>

<pre><code>echo (int)$test;
echo (integer)$test;
echo intval($test);
</code></pre>

<p>But they are all returning me 2147483647.</p>

<p>How do i convert the above string to a number or bigint?</p>

<p>Many many thanks for all suggestions.</p>
