Ces constantes sont définies par cette extension, et ne sont disponibles que si cette extension a été compilée avec PHP, ou bien chargée au moment de l'exécution.
INPUT_POST
(int)
INPUT_GET
(int)
INPUT_ENV
(int)
INPUT_SERVER
(int)
INPUT_SESSION
(int)
INPUT_REQUEST
(int)
FILTER_FLAG_NONE
(int)
FILTER_REQUIRE_SCALAR
(int)
FILTER_REQUIRE_ARRAY
(int)
FILTER_FORCE_ARRAY
(int)
FILTER_NULL_ON_FAILURE
(int)
null
au lieu de false
si une erreur survient.
FILTER_VALIDATE_INT
(int)
FILTER_VALIDATE_BOOL
(int)
FILTER_VALIDATE_BOOLEAN
.
FILTER_VALIDATE_BOOLEAN
(int)
FILTER_VALIDATE_FLOAT
(int)
FILTER_VALIDATE_REGEXP
(int)
FILTER_VALIDATE_URL
(int)
FILTER_VALIDATE_DOMAIN
(int)
FILTER_VALIDATE_EMAIL
(int)
FILTER_VALIDATE_IP
(int)
FILTER_VALIDATE_MAC
(int)
FILTER_DEFAULT
(int)
FILTER_UNSAFE_RAW
.
FILTER_UNSAFE_RAW
(int)
FILTER_SANITIZE_STRING
(int)
FILTER_SANITIZE_STRIPPED
(int)
FILTER_SANITIZE_ENCODED
(int)
FILTER_SANITIZE_SPECIAL_CHARS
(int)
FILTER_SANITIZE_EMAIL
(int)
FILTER_SANITIZE_URL
(int)
FILTER_SANITIZE_NUMBER_INT
(int)
FILTER_SANITIZE_NUMBER_FLOAT
(int)
FILTER_SANITIZE_MAGIC_QUOTES
(int)
FILTER_SANITIZE_ADD_SLASHES
à la place.)
FILTER_SANITIZE_ADD_SLASHES
(int)
FILTER_CALLBACK
(int)
FILTER_FLAG_ALLOW_OCTAL
(int)
0[0-7]+
) dans le filtre "int".
FILTER_FLAG_ALLOW_HEX
(int)
0x[0-9a-fA-F]+
) dans le filtre "int".
FILTER_FLAG_STRIP_LOW
(int)
FILTER_FLAG_STRIP_HIGH
(int)
FILTER_FLAG_STRIP_BACKTICK
(int)
FILTER_FLAG_ENCODE_LOW
(int)
FILTER_FLAG_ENCODE_HIGH
(int)
FILTER_FLAG_ENCODE_AMP
(int)
&
.
FILTER_FLAG_NO_ENCODE_QUOTES
(int)
'
, ni "
.
FILTER_FLAG_EMPTY_STRING_NULL
(int)
FILTER_FLAG_ALLOW_FRACTION
(int)
FILTER_FLAG_ALLOW_THOUSAND
(int)
,
) dans le filtre "number_float".
FILTER_FLAG_ALLOW_SCIENTIFIC
(int)
e
, E
) dans
le filtre "number_float".
FILTER_FLAG_PATH_REQUIRED
(int)
FILTER_FLAG_QUERY_REQUIRED
(int)
FILTER_FLAG_SCHEME_REQUIRED
(int)
FILTER_FLAG_HOST_REQUIRED
(int)
FILTER_FLAG_HOSTNAME
(int)
FILTER_FLAG_IPV4
(int)
FILTER_FLAG_IPV6
(int)
FILTER_FLAG_NO_RES_RANGE
(int)
FILTER_FLAG_NO_PRIV_RANGE
(int)
FILTER_FLAG_EMAIL_UNICODE
(int)