Name
filter_has_var
Synopsis
bool filter_has_var(intcontext
, stringname
)
Returns true
if a value named
name
exists in the specified
context
, or false
if it doesn’t. The context is one of
INPUT_GET
, INPUT_POST
, INPUT_COOKIE
, INPUT_SERVER
, or INPUT_ENV
.
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.