Filter 함수 목록
PHP Manual

filter_has_var

(PHP 5 >= 5.2.0, PHP 7)

filter_has_varChecks if variable of specified type exists

설명

bool filter_has_var ( int $type , string $variable_name )

인수

type

One of INPUT_GET, INPUT_POST, INPUT_COOKIE, INPUT_SERVER, or INPUT_ENV.

variable_name

Name of a variable to check.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.


Filter 함수 목록
PHP Manual