(PHP 3, PHP 4, PHP 5)
Restituisce una versione di str con il carattere backslash (\) davanti ai seguenti caratteri:
. \ + * ? [ ^ ] ( $ )
Nota: Questa funzione è binary-safe (gestisce correttamente i file binari)
Vedere anche addslashes(), htmlentities(), htmlspecialchars(), nl2br() e stripslashes().