diff --git a/reference/filter/filters.xml b/reference/filter/filters.xml index b52ca0027b..a875383941 100644 --- a/reference/filter/filters.xml +++ b/reference/filter/filters.xml @@ -211,9 +211,9 @@ 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 + 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.