quotemeta

(PHP 3, PHP 4, PHP 5)

quotemeta -- Quota i meta caratteri

Descrizione

string quotemeta ( string str )

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().