php8.5
Home/ Manual/ predefined / variables/ $_REQUEST

$_REQUEST

PHP function Edit on GitHub ✎

HTTP Request variables

Description

An associative array that by default contains the contents of $_GET, $_POSTListendand $_COOKIE.

Notes Is-superglobal

Note

When running on the command line, this will not include the argv and argc entries; these are present in the $_SERVER array.

Note

The variables in $_REQUEST are provided to the script via the GET, POST, and COOKIE input mechanisms and therefore could be modified by the remote user and cannot be trusted. The presence and order of variables listed in this array is defined according to the PHP request_order, and variables_order configuration directives.

See Also

Source: language/predefined/variables/request.xml · from the official PHP manual (php/doc-en)