title: How can I use an array in str_replace() function?
body: <p>All I'm trying to do is removing all <code>&lt;space&gt;</code> (spaces), <code>-</code> (dashes), <code>,</code> (commas). Here is my code:-</p>
  
  <pre><code>$str = "fwepoki3-4,32de e34d";
  $res = str_replace(",", "", str_replace("-", "", str_replace(" ", "", $str)));
  </code></pre>
  
  <p>Is another function in php or any better idea for doing that?</p>