From 93ffa39c13eff34ae68a9f101cc5985dc4cfb371 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 3 Jul 2011 22:16:22 +0000 Subject: [PATCH] Document full_special_chars filter git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312876 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filter/filters.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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"