title: Convert a big integer to a full string in PHP
body: <p>I've been searching for a while now, but what I can find is not what I search for. I need to convert an integer value, that may be <em>very huge</em>, to a string. Sounds easy: <code>"$var"</code>? No, because this can lead to the <code>E+</code> representation of the number.</p>
  
  <pre><code>&lt;?php
  
  $var = 10000000000000000000000000;
  echo $var."\n";
  echo "'$var'\n";
  echo (string) $var."\n";
  echo strval($var);
  
  ?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>1.0E+25
  '1.0E+25'
  1.0E+25
  1.0E+25
  </code></pre>
  
  <p>How can I make the output be <code>10000000000000000000000000</code> instead?</p>