How to strip slash in replace, PHP?

How to strip slash in replace, PHP?

It’s very easy.

1
2
3
<html>
 
$replace = array("[", "\\", "=", "`", "}");

So just use “\\”, instead of “/\/”. This one won’t work.

Add a comment: