array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.filter-has-var.php', 1 => 'filter_has_var', 2 => 'Checks if a variable of the specified type exists', ), 'up' => array ( 0 => 'ref.filter.php', 1 => 'Функції Filter', ), 'prev' => array ( 0 => 'ref.filter.php', 1 => 'Функції Filter', ), 'next' => array ( 0 => 'function.filter-id.php', 1 => 'filter_id', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/filter/functions/filter-has-var.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 5 >= 5.2.0, PHP 7, PHP 8)
filter_has_var — Checks if a variable of the specified type exists
input_type
One of INPUT_GET, INPUT_POST,
INPUT_COOKIE, INPUT_SERVER, or
INPUT_ENV.
var_nameName of a variable to check.