title: Search and replace multiple values with multiple/different values in PHP5?
body: <p>Is there an inbuilt PHP function to replace multiple values inside a string with an array that dictates exactly what is replaced with what?</p>
  
  <p>For example:</p>
  
  <pre><code>$searchreplace_array = Array('blah' =&gt; 'bleh', 'blarh' =&gt; 'blerh');
  $string = 'blah blarh bleh bleh blarh';
  </code></pre>
  
  <p>And the resulting would be: 'bleh blerh bleh bleh blerh'.</p>