title: Remove all backslashes from PHP urldecoded string
body: <p>I am trying to remove all backslashes from a url-decoded string, but it is outputting \ rather than outputting the url-decoded string with \ removed.</p>
  
  <p>Please can you tell me my problem.</p>
  
  <pre><code>&lt;?php
  $json = $_GET['ingredients'];
  echo urldecode(str_replace($json,$json, "\\"));
  ?&gt;
  </code></pre>