Display thousand seperator integer into integer value using PHP function
<p>I am working in my php function. My requirement is to convert :</p>

<pre><code>1,234
</code></pre>

<p>into </p>

<pre><code>1234
</code></pre>

<p>I know it can be achieved by <strong>str_replace</strong> but is any inbuilt PHP function exists for this or not.</p>