Returns a version of str with a backslash character (\) before every character that is among these:
. \ + * ? [ ^ ] ( $ ) |
Note: This function is binary-safe.
See also addslashes(), addcslashes(), htmlentities(), htmlspecialchars(), nl2br(), stripslashes(), and stripcslashes().