filter_has_var
filter_has_var
(PHP 5 >= 5.2.0, PHP 7)
filter_has_var — Checks if variable of specified type exists
Description
bool filter_has_var ( int $type , string $variable_name )
Parameters
-
type
-
One of
INPUT_GET
,INPUT_POST
,INPUT_COOKIE
,INPUT_SERVER
, orINPUT_ENV
. -
variable_name
登录查看完整内容