Number Sanitization using PHP
<p>I don't know if this is the place to ask this question but I will any way.</p>

<p>I'm trying to remove all non numeric characters from my code but FILTER_SANITIZE_NUMBER_INT allows plus and minus signs and I was wondering how can I remove them using PHP that I can add to my code?</p>

<p>Here is my code.</p>

<pre><code>$a = filter_var($a,FILTER_SANITIZE_NUMBER_INT);
</code></pre>
