(PHP 3, PHP 4 , PHP 5)
Retorna uma versão de str com uma barra invertida (\) entes de cada um destes caracteres:
. \\ + * ? [ ^ ] ( $ )
Veja também addslashes(), htmlentities(), htmlspecialchars(), nl2br(), and stripslashes().