PHP quotemeta function
Like this blog? Consider exploring one of our sponsored banner ads...
quotemeta
(PHP 3, PHP 4, PHP 5)
quotemeta — Quote meta charactersDescriptionstring quotemeta ( string str )
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().
About this entry
You’re currently reading “PHP quotemeta function,” an entry on BRADINO
- Published:
- 2.26.07 / 12am
- Category:
- PHP Functions
- Tags:
No comments
Jump to comment form | comments rss [?] | trackback uri [?]