diff --git a/reference/filter/filters.xml b/reference/filter/filters.xml index a3ac07f216..b52ca0027b 100644 --- a/reference/filter/filters.xml +++ b/reference/filter/filters.xml @@ -203,6 +203,21 @@ characters. + + FILTER_SANITIZE_FULL_SPECIAL_CHARS + "full_special_chars" + + + FILTER_FLAG_NO_ENCODE_QUOTES, + + + Equivalent to calling htmlspecialchars with ENT_QUOTES set. Encoding quotes can + be disabled by setting FILTER_FLAG_NO_ENCODE_QUOTES. Like htmlspecialchars(), this + filter is aware of the default_charset and if a sequence of bytes is detected that + makes up an invalid character in the current character set then the entire string is + rejected resulting in a 0-length string. + + FILTER_SANITIZE_STRING "string"