QUOTEMETA(3) 1 QUOTEMETA(3)
quotemeta - Quote meta characters
SYNOPSIS
string quotemeta (string $str)
DESCRIPTION
Returns a version of str with a backslash character ( ) before every character that is among these:
PARAMETERS
o $str
- The input string.
RETURN VALUES
Returns the string with meta characters quoted, or FALSE if an empty string is given as $str.
NOTES
Note
This function is binary-safe.
SEE ALSO
addslashes(3), addcslashes(3), htmlentities(3), htmlspecialchars(3), nl2br(3), stripslashes(3), stripcslashes(3), ereg(3), preg_quote(3).
PHP Documentation Group QUOTEMETA(3)