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.
Please can yo
Try this instead, your arguments for str_replace are incorrect.