title: str_replace() doesn't work with array
body: <p>I have an array like this:</p>
  
  <pre><code>array(46) 
  { 
  [0]=&gt; array(4) { ["category"]=&gt; string(21) "Media/news/publishing" ["name"]=&gt; string(20) "Cosmopolitan Armenia" ["id"]=&gt; string(15) "146307748762264" ["created_time"]=&gt; string(24) "2013-03-20T14:40:43+0000" } 
  [1]=&gt; array(4) { ["category"]=&gt; string(17) "Telecommunication" ["name"]=&gt; string(5) "Zangi" ["id"]=&gt; string(15) "386291674718829" ["created_time"]=&gt; string(24) "2013-03-20T11:07:46+0000" } 
  [2]=&gt; array(4) { ["category"]=&gt; string(13) "Musician/band" ["name"]=&gt; string(11) "Ray Charles" ["id"]=&gt; string(12) "430894850091" ["created_time"]=&gt; string(24) "2013-03-16T22:03:46+0000" } [3]=&gt; array(4) { ["category"]=&gt; string(4) "Cars" ["name"]=&gt; string(13) "I'm In Like With You" ["id"]=&gt; string(15) "447042531989769" ["created_time"]=&gt; string(24) "2013-03-16T22:01:46+0000" } .......
  }
  </code></pre>
  
  <p>Does anyone have an idea why this code:</p>
  
  <pre><code>str_replace("'","\'",MY_ARRAY);
  </code></pre>
  
  <p>... doesn't replace the <code>'</code> in  <code>"I'm In Like With You"</code>?</p>